public static enum PanZoom.Zoom extends java.lang.Enum<PanZoom.Zoom>
Enum Constant and Description |
---|
NONE
Comletely disable panning
|
SCALE
Zoom each axis by the same amount, specifically the total distance between each finger.
|
STRETCH_BOTH
Zoom on the vertical axis by the vertical distance between each finger, while zooming
on the horizontal axis by the horizantal distance between each finger.
|
STRETCH_HORIZONTAL
Zoom on the horizontal axis only
|
STRETCH_VERTICAL
Zoom on the vertical axis only
|
Modifier and Type | Method and Description |
---|---|
static PanZoom.Zoom |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PanZoom.Zoom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PanZoom.Zoom NONE
public static final PanZoom.Zoom STRETCH_HORIZONTAL
public static final PanZoom.Zoom STRETCH_VERTICAL
public static final PanZoom.Zoom STRETCH_BOTH
public static final PanZoom.Zoom SCALE
public static PanZoom.Zoom[] values()
for (PanZoom.Zoom c : PanZoom.Zoom.values()) System.out.println(c);
public static PanZoom.Zoom 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