treebolic.control
Enum Commander.Command
java.lang.Object
java.lang.Enum<Commander.Command>
treebolic.control.Commander.Command
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Commander.Command>
- Enclosing class:
- Commander
public static enum Commander.Command
- extends java.lang.Enum<Commander.Command>
Commands
Method Summary |
static Commander.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Commander.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
REFRESH
public static final Commander.Command REFRESH
HOME
public static final Commander.Command HOME
NORTH
public static final Commander.Command NORTH
SOUTH
public static final Commander.Command SOUTH
EAST
public static final Commander.Command EAST
WEST
public static final Commander.Command WEST
RADIAL
public static final Commander.Command RADIAL
ZOOMIN
public static final Commander.Command ZOOMIN
ZOOMOUT
public static final Commander.Command ZOOMOUT
EXPAND
public static final Commander.Command EXPAND
SHRINK
public static final Commander.Command SHRINK
WIDEN
public static final Commander.Command WIDEN
NARROW
public static final Commander.Command NARROW
HYPERBOLICEDGE
public static final Commander.Command HYPERBOLICEDGE
TOOLTIP
public static final Commander.Command TOOLTIP
TOOLTIPCONTENT
public static final Commander.Command TOOLTIPCONTENT
FOCUSHOVER
public static final Commander.Command FOCUSHOVER
values
public static Commander.Command[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Commander.Command c : Commander.Command.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Commander.Command valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null