Enum LayerViewStatus

  • All Implemented Interfaces:
    Serializable, Comparable<LayerViewStatus>

    public enum LayerViewStatus
    extends Enum<LayerViewStatus>
    Represents the different statuses available for layers being displayed in a GeoView.

    This status is for determining if a layer is displaying or not in a GeoView, with additional details on why. The layer view status is a flags enumeration, meaning a layer can have multiple states.

    Since:
    100.0.0
    • Enum Constant Detail

      • ACTIVE

        public static final LayerViewStatus ACTIVE
        The layer in the view is active. This is exclusive and will never be reported together with other statuses.
        Since:
        100.0.0
      • NOT_VISIBLE

        public static final LayerViewStatus NOT_VISIBLE
        The layer in the view is not visible.
        Since:
        100.0.0
      • OUT_OF_SCALE

        public static final LayerViewStatus OUT_OF_SCALE
        The layer in the view is out of scale.
        Since:
        100.0.0
      • LOADING

        public static final LayerViewStatus LOADING
        The layer in the view is loading.
        Since:
        100.0.0
      • ERROR

        public static final LayerViewStatus ERROR
        The layer in the view has an error.
        Since:
        100.0.0
    • Method Detail

      • values

        public static LayerViewStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LayerViewStatus c : LayerViewStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LayerViewStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null