Package org.geotools.swing
Enum Class MapLayerTableCellRenderer.LayerControlItem
- All Implemented Interfaces:
Serializable
,Comparable<MapLayerTableCellRenderer.LayerControlItem>
,Constable
- Enclosing class:
- MapLayerTableCellRenderer
public static enum MapLayerTableCellRenderer.LayerControlItem
extends Enum<MapLayerTableCellRenderer.LayerControlItem>
Items used to display layer states and controls. Each item has one or two icons associated with it: one for
simple controls, two for toggle controls.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLayer selection - the selected status of layers can be used to include or exclude them in map queries etc.Layer style - to open a style dialog for the layerLayer visibility - whether the layer will be shown or hidden when the map display is drawn -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Get the icon used to signify the 'on' state for toggle controls or the single icon for non-toggle controlsGet the icon used to signify the 'off' state.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VISIBLE
Layer visibility - whether the layer will be shown or hidden when the map display is drawn -
SELECTED
Layer selection - the selected status of layers can be used to include or exclude them in map queries etc. -
STYLE
Layer style - to open a style dialog for the layer -
REMOVE
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getIcon
Get the icon used to signify the 'on' state for toggle controls or the single icon for non-toggle controls- Returns:
- the icon
-
getOffIcon
Get the icon used to signify the 'off' state. If called for a non-toggle control this returns the single icon.- Returns:
- the icon
-