|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UnderlineStyle>
org.eclipse.graphiti.mm.algorithms.styles.UnderlineStyle
public enum UnderlineStyle
A representation of the literals of the enumeration 'Underline Style', and utility methods for working with them.
StylesPackage.getUnderlineStyle()
Enum Constant Summary | |
---|---|
UNDERLINE_DOUBLE
The 'UNDERLINE DOUBLE' literal object. |
|
UNDERLINE_ERROR
The 'UNDERLINE ERROR' literal object. |
|
UNDERLINE_SINGLE
The 'UNDERLINE SINGLE' literal object. |
|
UNDERLINE_SQUIGGLE
The 'UNDERLINE SQUIGGLE' literal object. |
Field Summary | |
---|---|
private String |
literal
|
private String |
name
|
static int |
UNDERLINE_DOUBLE_VALUE
The 'UNDERLINE DOUBLE' literal value. |
static int |
UNDERLINE_ERROR_VALUE
The 'UNDERLINE ERROR' literal value. |
static int |
UNDERLINE_SINGLE_VALUE
The 'UNDERLINE SINGLE' literal value. |
static int |
UNDERLINE_SQUIGGLE_VALUE
The 'UNDERLINE SQUIGGLE' literal value. |
private int |
value
|
static List<UnderlineStyle> |
VALUES
A public read-only list of all the 'Underline Style' enumerators. |
private static UnderlineStyle[] |
VALUES_ARRAY
An array of all the 'Underline Style' enumerators. |
Method Summary | |
---|---|
static UnderlineStyle |
get(int value)
Returns the 'Underline Style' literal with the specified integer value. |
static UnderlineStyle |
get(String literal)
Returns the 'Underline Style' literal with the specified literal value. |
static UnderlineStyle |
getByName(String name)
Returns the 'Underline Style' 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 UnderlineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UnderlineStyle[] |
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 UnderlineStyle UNDERLINE_SINGLE
UNDERLINE_SINGLE_VALUE
public static final UnderlineStyle UNDERLINE_DOUBLE
UNDERLINE_DOUBLE_VALUE
public static final UnderlineStyle UNDERLINE_ERROR
UNDERLINE_ERROR_VALUE
public static final UnderlineStyle UNDERLINE_SQUIGGLE
UNDERLINE_SQUIGGLE_VALUE
Field Detail |
---|
public static final int UNDERLINE_SINGLE_VALUE
If the meaning of 'UNDERLINE SINGLE' literal object isn't clear, there really should be more of a description here...
UNDERLINE_SINGLE
,
Constant Field Valuespublic static final int UNDERLINE_DOUBLE_VALUE
If the meaning of 'UNDERLINE DOUBLE' literal object isn't clear, there really should be more of a description here...
UNDERLINE_DOUBLE
,
Constant Field Valuespublic static final int UNDERLINE_ERROR_VALUE
If the meaning of 'UNDERLINE ERROR' literal object isn't clear, there really should be more of a description here...
UNDERLINE_ERROR
,
Constant Field Valuespublic static final int UNDERLINE_SQUIGGLE_VALUE
If the meaning of 'UNDERLINE SQUIGGLE' literal object isn't clear, there really should be more of a description here...
UNDERLINE_SQUIGGLE
,
Constant Field Valuesprivate static final UnderlineStyle[] VALUES_ARRAY
public static final List<UnderlineStyle> VALUES
private final int value
private final String name
private final String literal
Method Detail |
---|
public static UnderlineStyle[] values()
for (UnderlineStyle c : UnderlineStyle.values()) System.out.println(c);
public static UnderlineStyle 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 UnderlineStyle get(String literal)
public static UnderlineStyle getByName(String name)
public static UnderlineStyle get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<UnderlineStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |