public static enum XYPlot.XYNavigationDirection extends java.lang.Enum<XYPlot.XYNavigationDirection> implements NavigationDirection
Enum Constant and Description |
---|
ARBITRARY
Value for zooming and panning in all direction.
|
HORIZONTAL
Value for zooming and panning horizontally.
|
VERTICAL
Value for zooming and panning vertically.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAxesNames()
Returns the names of the axes that have the direction described by
this object.
|
static XYPlot.XYNavigationDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XYPlot.XYNavigationDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XYPlot.XYNavigationDirection HORIZONTAL
public static final XYPlot.XYNavigationDirection VERTICAL
public static final XYPlot.XYNavigationDirection ARBITRARY
public static XYPlot.XYNavigationDirection[] values()
for (XYPlot.XYNavigationDirection c : XYPlot.XYNavigationDirection.values()) System.out.println(c);
public static XYPlot.XYNavigationDirection 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 nullpublic java.lang.String[] getAxesNames()