public static enum Chart.ZoomType extends Enum<Chart.ZoomType>
Chart.setZoomType(ZoomType) method. The zoom type controls in what
dimensions the user can zoom by dragging the mouse| Enum Constant and Description |
|---|
X
Allow zoom horizontally on the X axis only.
|
X_AND_Y
Allow zooming both horizontally and vertically (both axes).
|
Y
Allow zoom vertically on the Y axis only.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Chart.ZoomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chart.ZoomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chart.ZoomType X
public static final Chart.ZoomType Y
public static final Chart.ZoomType X_AND_Y
public static Chart.ZoomType[] values()
for (Chart.ZoomType c : Chart.ZoomType.values()) System.out.println(c);
public static Chart.ZoomType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Chart.ZoomType>Copyright © 2015. All Rights Reserved.