|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<MapLayerTableCellRenderer.LayerControlItem>
MapLayerTableCellRenderer.LayerControlItem
public static 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.
Enum Constant Summary | |
---|---|
REMOVE
|
|
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 |
|
VISIBLE
Layer visibility - whether the layer will be shown or hidden when the map display is drawn |
Method Summary | |
---|---|
Icon |
getIcon()
Get the icon used to signify the 'on' state for toggle controls or the single icon for non-toggle controls |
Icon |
getOffIcon()
Get the icon used to signify the 'off' state. |
static MapLayerTableCellRenderer.LayerControlItem |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MapLayerTableCellRenderer.LayerControlItem[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MapLayerTableCellRenderer.LayerControlItem VISIBLE
public static final MapLayerTableCellRenderer.LayerControlItem SELECTED
public static final MapLayerTableCellRenderer.LayerControlItem STYLE
public static final MapLayerTableCellRenderer.LayerControlItem REMOVE
Method Detail |
---|
public static final MapLayerTableCellRenderer.LayerControlItem[] values()
for(MapLayerTableCellRenderer.LayerControlItem c : MapLayerTableCellRenderer.LayerControlItem.values()) System.out.println(c);
public static MapLayerTableCellRenderer.LayerControlItem valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic Icon getIcon()
public Icon getOffIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |