|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StandardToolKind>
org.eclipse.gmf.tooldef.StandardToolKind
public enum StandardToolKind
A representation of the literals of the enumeration 'Standard Tool Kind', and utility methods for working with them.
GMFToolPackage.getStandardToolKind()
Enum Constant Summary | |
---|---|
MARQUEE_LITERAL
The 'MARQUEE' literal object. |
|
SELECT_LITERAL
The 'SELECT' literal object. |
|
SELECT_PAN_LITERAL
The 'SELECT PAN' literal object. |
|
ZOOM_IN_LITERAL
The 'ZOOM IN' literal object. |
|
ZOOM_OUT_LITERAL
The 'ZOOM OUT' literal object. |
|
ZOOM_PAN_LITERAL
The 'ZOOM PAN' literal object. |
Field Summary | |
---|---|
static int |
MARQUEE
The 'MARQUEE' literal value. |
static int |
SELECT
The 'SELECT' literal value. |
static int |
SELECT_PAN
The 'SELECT PAN' literal value. |
static List<StandardToolKind> |
VALUES
A public read-only list of all the 'Standard Tool Kind' enumerators. |
static int |
ZOOM_IN
The 'ZOOM IN' literal value. |
static int |
ZOOM_OUT
The 'ZOOM OUT' literal value. |
static int |
ZOOM_PAN
The 'ZOOM PAN' literal value. |
Method Summary | |
---|---|
static StandardToolKind |
get(int value)
Returns the 'Standard Tool Kind' literal with the specified integer value. |
static StandardToolKind |
get(String literal)
Returns the 'Standard Tool Kind' literal with the specified literal value. |
static StandardToolKind |
getByName(String name)
Returns the 'Standard Tool Kind' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static StandardToolKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StandardToolKind[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StandardToolKind SELECT_LITERAL
SELECT
public static final StandardToolKind SELECT_PAN_LITERAL
SELECT_PAN
public static final StandardToolKind MARQUEE_LITERAL
MARQUEE
public static final StandardToolKind ZOOM_PAN_LITERAL
ZOOM_PAN
public static final StandardToolKind ZOOM_IN_LITERAL
ZOOM_IN
public static final StandardToolKind ZOOM_OUT_LITERAL
ZOOM_OUT
Field Detail |
---|
public static final int SELECT
If the meaning of 'SELECT' literal object isn't clear, there really should be more of a description here...
SELECT_LITERAL
,
Constant Field Valuespublic static final int SELECT_PAN
If the meaning of 'SELECT PAN' literal object isn't clear, there really should be more of a description here...
SELECT_PAN_LITERAL
,
Constant Field Valuespublic static final int MARQUEE
If the meaning of 'MARQUEE' literal object isn't clear, there really should be more of a description here...
MARQUEE_LITERAL
,
Constant Field Valuespublic static final int ZOOM_PAN
If the meaning of 'ZOOM PAN' literal object isn't clear, there really should be more of a description here...
ZOOM_PAN_LITERAL
,
Constant Field Valuespublic static final int ZOOM_IN
If the meaning of 'ZOOM IN' literal object isn't clear, there really should be more of a description here...
ZOOM_IN_LITERAL
,
Constant Field Valuespublic static final int ZOOM_OUT
If the meaning of 'ZOOM OUT' literal object isn't clear, there really should be more of a description here...
ZOOM_OUT_LITERAL
,
Constant Field Valuespublic static final List<StandardToolKind> VALUES
Method Detail |
---|
public static StandardToolKind[] values()
for (StandardToolKind c : StandardToolKind.values()) System.out.println(c);
public static StandardToolKind valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static StandardToolKind get(String literal)
public static StandardToolKind getByName(String name)
public static StandardToolKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<StandardToolKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |