|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LineKind>
org.eclipse.gmf.gmfgraph.LineKind
public enum LineKind
A representation of the literals of the enumeration 'Line Kind', and utility methods for working with them. org.eclipse.draw2d.Graphics.LINE_* (== org.eclipse.swt.SWT.LINE_*. Values are same as SWT constants
GMFGraphPackage.getLineKind()
Enum Constant Summary | |
---|---|
LINE_CUSTOM_LITERAL
The 'LINE CUSTOM' literal object. |
|
LINE_DASH_LITERAL
The 'LINE DASH' literal object. |
|
LINE_DASHDOT_LITERAL
The 'LINE DASHDOT' literal object. |
|
LINE_DASHDOTDOT_LITERAL
The 'LINE DASHDOTDOT' literal object. |
|
LINE_DOT_LITERAL
The 'LINE DOT' literal object. |
|
LINE_SOLID_LITERAL
The 'LINE SOLID' literal object. |
Field Summary | |
---|---|
static int |
LINE_CUSTOM
The 'LINE CUSTOM' literal value. |
static int |
LINE_DASH
The 'LINE DASH' literal value. |
static int |
LINE_DASHDOT
The 'LINE DASHDOT' literal value. |
static int |
LINE_DASHDOTDOT
The 'LINE DASHDOTDOT' literal value. |
static int |
LINE_DOT
The 'LINE DOT' literal value. |
static int |
LINE_SOLID
The 'LINE SOLID' literal value. |
static List<LineKind> |
VALUES
A public read-only list of all the 'Line Kind' enumerators. |
Method Summary | |
---|---|
static LineKind |
get(int value)
Returns the 'Line Kind' literal with the specified integer value. |
static LineKind |
get(String literal)
Returns the 'Line Kind' literal with the specified literal value. |
static LineKind |
getByName(String name)
Returns the 'Line 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 LineKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LineKind[] |
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 LineKind LINE_SOLID_LITERAL
LINE_SOLID
public static final LineKind LINE_DASH_LITERAL
LINE_DASH
public static final LineKind LINE_DOT_LITERAL
LINE_DOT
public static final LineKind LINE_DASHDOT_LITERAL
LINE_DASHDOT
public static final LineKind LINE_DASHDOTDOT_LITERAL
LINE_DASHDOTDOT
public static final LineKind LINE_CUSTOM_LITERAL
LINE_CUSTOM
Field Detail |
---|
public static final int LINE_SOLID
If the meaning of 'LINE SOLID' literal object isn't clear, there really should be more of a description here...
LINE_SOLID_LITERAL
,
Constant Field Valuespublic static final int LINE_DASH
If the meaning of 'LINE DASH' literal object isn't clear, there really should be more of a description here...
LINE_DASH_LITERAL
,
Constant Field Valuespublic static final int LINE_DOT
If the meaning of 'LINE DOT' literal object isn't clear, there really should be more of a description here...
LINE_DOT_LITERAL
,
Constant Field Valuespublic static final int LINE_DASHDOT
If the meaning of 'LINE DASHDOT' literal object isn't clear, there really should be more of a description here...
LINE_DASHDOT_LITERAL
,
Constant Field Valuespublic static final int LINE_DASHDOTDOT
If the meaning of 'LINE DASHDOTDOT' literal object isn't clear, there really should be more of a description here...
LINE_DASHDOTDOT_LITERAL
,
Constant Field Valuespublic static final int LINE_CUSTOM
If the meaning of 'LINE CUSTOM' literal object isn't clear, there really should be more of a description here...
LINE_CUSTOM_LITERAL
,
Constant Field Valuespublic static final List<LineKind> VALUES
Method Detail |
---|
public static LineKind[] values()
for (LineKind c : LineKind.values()) System.out.println(c);
public static LineKind 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 LineKind get(String literal)
public static LineKind getByName(String name)
public static LineKind 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<LineKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |