public static enum ToolBar.CursorMode extends java.lang.Enum<ToolBar.CursorMode>
Enum Constant and Description |
---|
CLICKZOOMWIRE
Describes ClickZoomWire mode (does everything).
|
MEASURE
Describes Measure mode.
|
OUTLINE
Describes Outline edit mode.
|
PAN
Describes Panning mode (move window contents).
|
ZOOM
Describes Zoom mode (scale window contents).
|
Modifier and Type | Method and Description |
---|---|
static ToolBar.CursorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ToolBar.CursorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolBar.CursorMode CLICKZOOMWIRE
public static final ToolBar.CursorMode PAN
public static final ToolBar.CursorMode ZOOM
public static final ToolBar.CursorMode OUTLINE
public static final ToolBar.CursorMode MEASURE
public static ToolBar.CursorMode[] values()
for (ToolBar.CursorMode c : ToolBar.CursorMode.values()) System.out.println(c);
public static ToolBar.CursorMode 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 namejava.lang.NullPointerException
- if the argument is null