public static enum MapLayerTableCellRenderer.LayerControlItem extends Enum<MapLayerTableCellRenderer.LayerControlItem>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
public static final MapLayerTableCellRenderer.LayerControlItem VISIBLE
public static final MapLayerTableCellRenderer.LayerControlItem SELECTED
public static final MapLayerTableCellRenderer.LayerControlItem STYLE
public static final MapLayerTableCellRenderer.LayerControlItem REMOVE
public static 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 nameNullPointerException
- if the argument is nullpublic Icon getIcon()
public Icon getOffIcon()
Copyright © 1996–2019 Geotools. All rights reserved.