public static enum BaseChart.PinchType extends Enum<BaseChart.PinchType>
BaseChart.setPinchType(PinchType) method. The pinch type controls in what
dimensions the user can zoom by pinching, if pinching is enabled.| 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 BaseChart.PinchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseChart.PinchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseChart.PinchType X
public static final BaseChart.PinchType Y
public static final BaseChart.PinchType X_AND_Y
public static BaseChart.PinchType[] values()
for (BaseChart.PinchType c : BaseChart.PinchType.values()) System.out.println(c);
public static BaseChart.PinchType 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<BaseChart.PinchType>Copyright © 2015. All Rights Reserved.