|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PatternType>
net.ogdf.ogml.PatternType
public enum PatternType
A representation of the literals of the enumeration 'Pattern Type', and utility methods for working with them.
OgmlPackage.getPatternType()
extendedMetaData | = | name='pattern.type' |
Enum Constant Summary | |
---|---|
CHECKED
The 'Checked' literal object. |
|
DOTTED
The 'Dotted' literal object. |
|
NONE
The 'None' literal object. |
|
SOLID
The 'Solid' literal object. |
|
STRIPED
The 'Striped' literal object. |
Field Summary | |
---|---|
static int |
CHECKED_VALUE
The 'Checked' literal value. |
static int |
DOTTED_VALUE
The 'Dotted' literal value. |
static int |
NONE_VALUE
The 'None' literal value. |
static int |
SOLID_VALUE
The 'Solid' literal value. |
static int |
STRIPED_VALUE
The 'Striped' literal value. |
static List<PatternType> |
VALUES
A public read-only list of all the 'Pattern Type' enumerators. |
Method Summary | |
---|---|
static PatternType |
get(int value)
Returns the 'Pattern Type' literal with the specified integer value. |
static PatternType |
get(String literal)
Returns the 'Pattern Type' literal with the specified literal value. |
static PatternType |
getByName(String name)
Returns the 'Pattern 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 PatternType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PatternType[] |
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 PatternType SOLID
SOLID_VALUE
public static final PatternType STRIPED
STRIPED_VALUE
public static final PatternType CHECKED
CHECKED_VALUE
public static final PatternType DOTTED
DOTTED_VALUE
public static final PatternType NONE
NONE_VALUE
Field Detail |
---|
public static final int SOLID_VALUE
If the meaning of 'Solid' literal object isn't clear, there really should be more of a description here...
SOLID
,
Constant Field Valuesname | = | solid |
public static final int STRIPED_VALUE
If the meaning of 'Striped' literal object isn't clear, there really should be more of a description here...
STRIPED
,
Constant Field Valuesname | = | striped |
public static final int CHECKED_VALUE
If the meaning of 'Checked' literal object isn't clear, there really should be more of a description here...
CHECKED
,
Constant Field Valuesname | = | checked |
public static final int DOTTED_VALUE
If the meaning of 'Dotted' literal object isn't clear, there really should be more of a description here...
DOTTED
,
Constant Field Valuesname | = | dotted |
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<PatternType> VALUES
Method Detail |
---|
public static PatternType[] values()
for (PatternType c : PatternType.values()) System.out.println(c);
public static PatternType 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 PatternType get(String literal)
public static PatternType getByName(String name)
public static PatternType 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<PatternType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |