|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DecorationType>
net.ogdf.ogml.DecorationType
public enum DecorationType
A representation of the literals of the enumeration 'Decoration Type', and utility methods for working with them.
OgmlPackage.getDecorationType()
extendedMetaData | = | name='decoration.type' |
Enum Constant Summary | |
---|---|
BLINK
The 'Blink' literal object. |
|
LINE_THROUGH
The 'Line Through' literal object. |
|
NONE
The 'None' literal object. |
|
OVERLINE
The 'Overline' literal object. |
|
UNDERLINE
The 'Underline' literal object. |
Field Summary | |
---|---|
static int |
BLINK_VALUE
The 'Blink' literal value. |
static int |
LINE_THROUGH_VALUE
The 'Line Through' literal value. |
static int |
NONE_VALUE
The 'None' literal value. |
static int |
OVERLINE_VALUE
The 'Overline' literal value. |
static int |
UNDERLINE_VALUE
The 'Underline' literal value. |
static List<DecorationType> |
VALUES
A public read-only list of all the 'Decoration Type' enumerators. |
Method Summary | |
---|---|
static DecorationType |
get(int value)
Returns the 'Decoration Type' literal with the specified integer value. |
static DecorationType |
get(String literal)
Returns the 'Decoration Type' literal with the specified literal value. |
static DecorationType |
getByName(String name)
Returns the 'Decoration Type' 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 DecorationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DecorationType[] |
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 DecorationType UNDERLINE
UNDERLINE_VALUE
public static final DecorationType OVERLINE
OVERLINE_VALUE
public static final DecorationType BLINK
BLINK_VALUE
public static final DecorationType LINE_THROUGH
LINE_THROUGH_VALUE
public static final DecorationType NONE
NONE_VALUE
Field Detail |
---|
public static final int UNDERLINE_VALUE
If the meaning of 'Underline' literal object isn't clear, there really should be more of a description here...
UNDERLINE
,
Constant Field Valuesname | = | underline |
public static final int OVERLINE_VALUE
If the meaning of 'Overline' literal object isn't clear, there really should be more of a description here...
OVERLINE
,
Constant Field Valuesname | = | overline |
public static final int BLINK_VALUE
If the meaning of 'Blink' literal object isn't clear, there really should be more of a description here...
BLINK
,
Constant Field Valuesname | = | blink |
public static final int LINE_THROUGH_VALUE
If the meaning of 'Line Through' literal object isn't clear, there really should be more of a description here...
LINE_THROUGH
,
Constant Field Valuesname | = | lineThrough |
literal | = | line-through |
public static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuesname | = | none |
public static final List<DecorationType> VALUES
Method Detail |
---|
public static DecorationType[] values()
for (DecorationType c : DecorationType.values()) System.out.println(c);
public static DecorationType 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 DecorationType get(String literal)
public static DecorationType getByName(String name)
public static DecorationType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<DecorationType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |