public static enum ZoomPan.ZoomPanDirection extends java.lang.Enum<ZoomPan.ZoomPanDirection>
Enum Constant and Description |
---|
ZOOM_HORIZONTAL_PAN_BOTH
Zoom in horizontal direction only (x), pan in both.
|
ZOOM_PAN_BOTH
Zooming and panning in both directions.
|
ZOOM_PAN_HORIZONTAL
Only zoom and pan in a horizontal direction (x).
|
ZOOM_PAN_VERTICAL
Only zoom and pan in a vertical direction (y).
|
ZOOM_VERTICAL_PAN_BOTH
Zoom in vertical direction only (y), pan in both.
|
Modifier and Type | Method and Description |
---|---|
static ZoomPan.ZoomPanDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZoomPan.ZoomPanDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomPan.ZoomPanDirection ZOOM_PAN_BOTH
public static final ZoomPan.ZoomPanDirection ZOOM_PAN_VERTICAL
public static final ZoomPan.ZoomPanDirection ZOOM_PAN_HORIZONTAL
public static final ZoomPan.ZoomPanDirection ZOOM_VERTICAL_PAN_BOTH
public static final ZoomPan.ZoomPanDirection ZOOM_HORIZONTAL_PAN_BOTH
public static ZoomPan.ZoomPanDirection[] values()
for (ZoomPan.ZoomPanDirection c : ZoomPan.ZoomPanDirection.values()) System.out.println(c);
public static ZoomPan.ZoomPanDirection 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