public static enum Chart.PanKey extends Enum<Chart.PanKey>
Chart.setPanKey(PanKey)used as
a "panKey" which, when down, switches from zooming to panning.| Enum Constant and Description |
|---|
ALT
Pan the chart while holding "alt"
|
CTRL
Pan the chart while holding "ctrl"
|
SHIFT
Pan the chart while holding "shift"
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Chart.PanKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chart.PanKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chart.PanKey ALT
public static final Chart.PanKey CTRL
public static final Chart.PanKey SHIFT
public static Chart.PanKey[] values()
for (Chart.PanKey c : Chart.PanKey.values()) System.out.println(c);
public static Chart.PanKey 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.PanKey>Copyright © 2015. All Rights Reserved.