org.geotools.swing.event
Enum MapPaneKeyHandler.Action

Object
  extended by Enum<MapPaneKeyHandler.Action>
      extended by 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.


Enum Constant Summary
SCROLL_DOWN
           
SCROLL_LEFT
           
SCROLL_RIGHT
           
SCROLL_UP
           
ZOOM_FULL_EXTENT
           
ZOOM_IN
           
ZOOM_OUT
           
 
Method Summary
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.
 
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

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 name
NullPointerException - if the argument is null


Copyright © 1996-2014 Geotools. All Rights Reserved.