|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<JMapFrame.Tool>
JMapFrame.Tool
public static enum JMapFrame.Tool
Constants for available toolbar buttons used with the JMapFrame.enableTool(org.geotools.swing.JMapFrame.Tool...) method.
Enum Constant Summary | |
---|---|
INFO
Requests the feature info cursor tool |
|
NONE
Used to request that an empty toolbar be created |
|
PAN
Requests the pan cursor tool |
|
RESET
Requests the reset map extent cursor tool |
|
ZOOM
Requests the zoom in and out cursor tools |
Method Summary | |
---|---|
static JMapFrame.Tool |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JMapFrame.Tool[] |
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 JMapFrame.Tool NONE
public static final JMapFrame.Tool INFO
public static final JMapFrame.Tool PAN
public static final JMapFrame.Tool RESET
public static final JMapFrame.Tool ZOOM
Method Detail |
---|
public static final JMapFrame.Tool[] values()
for(JMapFrame.Tool c : JMapFrame.Tool.values()) System.out.println(c);
public static JMapFrame.Tool valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |