|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JMapFrame.Tool>
org.geotools.swing.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(java.lang.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 are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
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 JMapFrame.Tool[] values()
for (JMapFrame.Tool c : JMapFrame.Tool.values()) System.out.println(c);
public static JMapFrame.Tool valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |