maslab.vis
Enum VisCanvas.ZOOM
java.lang.Object
java.lang.Enum<VisCanvas.ZOOM>
maslab.vis.VisCanvas.ZOOM
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VisCanvas.ZOOM>
- Enclosing class:
- VisCanvas
public static enum VisCanvas.ZOOM
- extends java.lang.Enum<VisCanvas.ZOOM>
Enum Constant Summary |
IN
|
OUT
|
Method Summary |
static VisCanvas.ZOOM |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VisCanvas.ZOOM[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
IN
public static final VisCanvas.ZOOM IN
OUT
public static final VisCanvas.ZOOM OUT
values
public static final VisCanvas.ZOOM[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(VisCanvas.ZOOM c : VisCanvas.ZOOM.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static VisCanvas.ZOOM 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