public enum ZoomAndPan extends java.lang.Enum<ZoomAndPan> implements org.eclipse.emf.common.util.Enumerator
SvgPackage.getZoomAndPan()
Enum Constant and Description |
---|
DISABLE
The 'Disable' literal object
|
MAGNIFY
The 'Magnify' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
DISABLE_VALUE
The 'Disable' literal value
|
static int |
MAGNIFY_VALUE
The 'Magnify' literal value
|
static java.util.List<ZoomAndPan> |
VALUES
A public read-only list of all the 'Zoom And Pan' enumerators
|
Modifier and Type | Method and Description |
---|---|
static ZoomAndPan |
get(int value)
Returns the 'Zoom And Pan' literal with the specified integer value
|
static ZoomAndPan |
get(java.lang.String literal)
Returns the 'Zoom And Pan' literal with the specified literal value
|
static ZoomAndPan |
getByName(java.lang.String name)
Returns the 'Zoom And Pan' literal with the specified name
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation
|
static ZoomAndPan |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZoomAndPan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomAndPan DISABLE
DISABLE_VALUE
public static final ZoomAndPan MAGNIFY
MAGNIFY_VALUE
public static final int DISABLE_VALUE
If the meaning of 'Disable' literal object isn't clear, there really should be more of a description here...
DISABLE
,
Constant Field Valuespublic static final int MAGNIFY_VALUE
If the meaning of 'Magnify' literal object isn't clear, there really should be more of a description here...
MAGNIFY
,
Constant Field Valuespublic static final java.util.List<ZoomAndPan> VALUES
public static ZoomAndPan[] values()
for (ZoomAndPan c : ZoomAndPan.values()) System.out.println(c);
public static ZoomAndPan 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 static ZoomAndPan get(java.lang.String literal)
public static ZoomAndPan getByName(java.lang.String name)
public static ZoomAndPan get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<ZoomAndPan>