|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<SwtMapFrame.Tool>
SwtMapFrame.Tool
public static enum SwtMapFrame.Tool
Constants for available toolbar buttons used with the SwtMapFrame.enableTool(org.geotools.swt.SwtMapFrame.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 SwtMapFrame.Tool |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SwtMapFrame.Tool[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SwtMapFrame.Tool NONE
public static final SwtMapFrame.Tool INFO
public static final SwtMapFrame.Tool PAN
public static final SwtMapFrame.Tool RESET
public static final SwtMapFrame.Tool ZOOM
Method Detail |
---|
public static SwtMapFrame.Tool[] values()
for (SwtMapFrame.Tool c : SwtMapFrame.Tool.values()) System.out.println(c);
public static SwtMapFrame.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
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |