org.gicentre.utils.move
Enum ZoomPan.ZoomPanBehaviour

java.lang.Object
  extended by java.lang.Enum<ZoomPan.ZoomPanBehaviour>
      extended by org.gicentre.utils.move.ZoomPan.ZoomPanBehaviour
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ZoomPan.ZoomPanBehaviour>
Enclosing class:
ZoomPan

public static enum ZoomPan.ZoomPanBehaviour
extends java.lang.Enum<ZoomPan.ZoomPanBehaviour>

Type of zoom/pan behaviour.


Enum Constant Summary
BOTH_DIRECTIONS
          Indicates panning can occur in both directions.
HORIZONTAL_ONLY
          Indicates panning can occur in horizontal direction only.
VERTICAL_ONLY
          Indicates panning can occur in vertical direction only.
 
Method Summary
static ZoomPan.ZoomPanBehaviour valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ZoomPan.ZoomPanBehaviour[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOTH_DIRECTIONS

public static final ZoomPan.ZoomPanBehaviour BOTH_DIRECTIONS
Indicates panning can occur in both directions.


VERTICAL_ONLY

public static final ZoomPan.ZoomPanBehaviour VERTICAL_ONLY
Indicates panning can occur in vertical direction only.


HORIZONTAL_ONLY

public static final ZoomPan.ZoomPanBehaviour HORIZONTAL_ONLY
Indicates panning can occur in horizontal direction only.

Method Detail

values

public static ZoomPan.ZoomPanBehaviour[] 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 (ZoomPan.ZoomPanBehaviour c : ZoomPan.ZoomPanBehaviour.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ZoomPan.ZoomPanBehaviour valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


giCentre Utilities V.3.3, API documentation generated 6th April, 2013