Enum Class RasterLayerType

java.lang.Object
java.lang.Enum<RasterLayerType>
com.luciad.layers.rasters.RasterLayerType
All Implemented Interfaces:
Serializable, Comparable<RasterLayerType>, Constable

public enum RasterLayerType extends Enum<RasterLayerType>
Provides hints about the type of a given RasterLayer.

These hints may be used to determine default layer ordering or to perform certain optimizations.

Since:
2024.0
  • Enum Constant Details

    • Background

      public static final RasterLayerType Background
      Indicates that the layer contains static data which is rarely or never modified.

      Changes to the layer's visibility, its position in the view's layer hierarchy or its styling may incur a non-negligible performance cost.

    • Interactive

      public static final RasterLayerType Interactive
      Indicates that the layer contains data which is largely static but which may be manipulated by the application user.

      Examples include layers that are switched on and off frequently or layers whose styling changes often.

  • Method Details

    • values

      public static RasterLayerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RasterLayerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null