org.geotools.swing.event
Enum MapPaneKeyHandler.Action
Object
Enum<MapPaneKeyHandler.Action>
MapPaneKeyHandler.Action
- All Implemented Interfaces:
- Serializable, Comparable<MapPaneKeyHandler.Action>
- Enclosing class:
- MapPaneKeyHandler
public static enum MapPaneKeyHandler.Action
- extends Enum<MapPaneKeyHandler.Action>
Constants for supported actions.
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
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 name
NullPointerException
- if the argument is null
Copyright © 1996-2014 Geotools. All Rights Reserved.