Package org.geotools.swing.event
Enum MapPaneKeyHandler.Action
- Object
-
- Enum<MapPaneKeyHandler.Action>
-
- Action
-
- All Implemented Interfaces:
Serializable
,Comparable<MapPaneKeyHandler.Action>
- Enclosing class:
- MapPaneKeyHandler
public static enum MapPaneKeyHandler.Action extends Enum<MapPaneKeyHandler.Action>
Constants for supported actions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCROLL_DOWN
SCROLL_LEFT
SCROLL_RIGHT
SCROLL_UP
ZOOM_FULL_EXTENT
ZOOM_IN
ZOOM_OUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapPaneKeyHandler.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static MapPaneKeyHandler.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCROLL_LEFT
public static final MapPaneKeyHandler.Action SCROLL_LEFT
-
SCROLL_RIGHT
public static final MapPaneKeyHandler.Action SCROLL_RIGHT
-
SCROLL_UP
public static final MapPaneKeyHandler.Action SCROLL_UP
-
SCROLL_DOWN
public static final MapPaneKeyHandler.Action SCROLL_DOWN
-
ZOOM_IN
public static final MapPaneKeyHandler.Action ZOOM_IN
-
ZOOM_OUT
public static final MapPaneKeyHandler.Action ZOOM_OUT
-
ZOOM_FULL_EXTENT
public static final MapPaneKeyHandler.Action ZOOM_FULL_EXTENT
-
-
Method Detail
-
values
public static MapPaneKeyHandler.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapPaneKeyHandler.Action c : MapPaneKeyHandler.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapPaneKeyHandler.Action valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-