|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ShapeType>
net.ogdf.ogml.ShapeType
public enum ShapeType
A representation of the literals of the enumeration 'Shape Type', and utility methods for working with them.
OgmlPackage.getShapeType()
extendedMetaData | = | name='shape.type' |
Enum Constant Summary | |
---|---|
CIRCLE
The 'Circle' literal object. |
|
ELLIPSE
The 'Ellipse' literal object. |
|
HEXAGON
The 'Hexagon' literal object. |
|
IMAGE
The 'Image' literal object. |
|
LPARALLELOGRAM
The 'LParallelogram' literal object. |
|
OCTAGON
The 'Octagon' literal object. |
|
PENTAGON
The 'Pentagon' literal object. |
|
RECT
The 'Rect' literal object. |
|
RHOMB
The 'Rhomb' literal object. |
|
RPARALLELOGRAM
The 'RParallelogram' literal object. |
|
TRAPEZE
The 'Trapeze' literal object. |
|
TRIANGLE
The 'Triangle' literal object. |
|
UML_CLASS
The 'Uml Class' literal object. |
|
UP_TRAPEZE
The 'Up Trapeze' literal object. |
Field Summary | |
---|---|
static int |
CIRCLE_VALUE
The 'Circle' literal value. |
static int |
ELLIPSE_VALUE
The 'Ellipse' literal value. |
static int |
HEXAGON_VALUE
The 'Hexagon' literal value. |
static int |
IMAGE_VALUE
The 'Image' literal value. |
static int |
LPARALLELOGRAM_VALUE
The 'LParallelogram' literal value. |
static int |
OCTAGON_VALUE
The 'Octagon' literal value. |
static int |
PENTAGON_VALUE
The 'Pentagon' literal value. |
static int |
RECT_VALUE
The 'Rect' literal value. |
static int |
RHOMB_VALUE
The 'Rhomb' literal value. |
static int |
RPARALLELOGRAM_VALUE
The 'RParallelogram' literal value. |
static int |
TRAPEZE_VALUE
The 'Trapeze' literal value. |
static int |
TRIANGLE_VALUE
The 'Triangle' literal value. |
static int |
UML_CLASS_VALUE
The 'Uml Class' literal value. |
static int |
UP_TRAPEZE_VALUE
The 'Up Trapeze' literal value. |
static List<ShapeType> |
VALUES
A public read-only list of all the 'Shape Type' enumerators. |
Method Summary | |
---|---|
static ShapeType |
get(int value)
Returns the 'Shape Type' literal with the specified integer value. |
static ShapeType |
get(String literal)
Returns the 'Shape Type' literal with the specified literal value. |
static ShapeType |
getByName(String name)
Returns the 'Shape 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 ShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ShapeType[] |
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 ShapeType RECT
RECT_VALUE
public static final ShapeType TRIANGLE
TRIANGLE_VALUE
public static final ShapeType CIRCLE
CIRCLE_VALUE
public static final ShapeType ELLIPSE
ELLIPSE_VALUE
public static final ShapeType HEXAGON
HEXAGON_VALUE
public static final ShapeType RHOMB
RHOMB_VALUE
public static final ShapeType TRAPEZE
TRAPEZE_VALUE
public static final ShapeType UP_TRAPEZE
UP_TRAPEZE_VALUE
public static final ShapeType LPARALLELOGRAM
LPARALLELOGRAM_VALUE
public static final ShapeType RPARALLELOGRAM
RPARALLELOGRAM_VALUE
public static final ShapeType PENTAGON
PENTAGON_VALUE
public static final ShapeType OCTAGON
OCTAGON_VALUE
public static final ShapeType UML_CLASS
UML_CLASS_VALUE
public static final ShapeType IMAGE
IMAGE_VALUE
Field Detail |
---|
public static final int RECT_VALUE
If the meaning of 'Rect' literal object isn't clear, there really should be more of a description here...
RECT
,
Constant Field Valuesname | = | rect |
public static final int TRIANGLE_VALUE
If the meaning of 'Triangle' literal object isn't clear, there really should be more of a description here...
TRIANGLE
,
Constant Field Valuesname | = | triangle |
public static final int CIRCLE_VALUE
If the meaning of 'Circle' literal object isn't clear, there really should be more of a description here...
CIRCLE
,
Constant Field Valuesname | = | circle |
public static final int ELLIPSE_VALUE
If the meaning of 'Ellipse' literal object isn't clear, there really should be more of a description here...
ELLIPSE
,
Constant Field Valuesname | = | ellipse |
public static final int HEXAGON_VALUE
If the meaning of 'Hexagon' literal object isn't clear, there really should be more of a description here...
HEXAGON
,
Constant Field Valuesname | = | hexagon |
public static final int RHOMB_VALUE
If the meaning of 'Rhomb' literal object isn't clear, there really should be more of a description here...
RHOMB
,
Constant Field Valuesname | = | rhomb |
public static final int TRAPEZE_VALUE
If the meaning of 'Trapeze' literal object isn't clear, there really should be more of a description here...
TRAPEZE
,
Constant Field Valuesname | = | trapeze |
public static final int UP_TRAPEZE_VALUE
If the meaning of 'Up Trapeze' literal object isn't clear, there really should be more of a description here...
UP_TRAPEZE
,
Constant Field Valuesname | = | upTrapeze |
public static final int LPARALLELOGRAM_VALUE
If the meaning of 'LParallelogram' literal object isn't clear, there really should be more of a description here...
LPARALLELOGRAM
,
Constant Field Valuesname | = | lParallelogram |
public static final int RPARALLELOGRAM_VALUE
If the meaning of 'RParallelogram' literal object isn't clear, there really should be more of a description here...
RPARALLELOGRAM
,
Constant Field Valuesname | = | rParallelogram |
public static final int PENTAGON_VALUE
If the meaning of 'Pentagon' literal object isn't clear, there really should be more of a description here...
PENTAGON
,
Constant Field Valuesname | = | pentagon |
public static final int OCTAGON_VALUE
If the meaning of 'Octagon' literal object isn't clear, there really should be more of a description here...
OCTAGON
,
Constant Field Valuesname | = | octagon |
public static final int UML_CLASS_VALUE
If the meaning of 'Uml Class' literal object isn't clear, there really should be more of a description here...
UML_CLASS
,
Constant Field Valuesname | = | umlClass |
public static final int IMAGE_VALUE
If the meaning of 'Image' literal object isn't clear, there really should be more of a description here...
IMAGE
,
Constant Field Valuesname | = | image |
public static final List<ShapeType> VALUES
Method Detail |
---|
public static ShapeType[] values()
for (ShapeType c : ShapeType.values()) System.out.println(c);
public static ShapeType 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 ShapeType get(String literal)
public static ShapeType getByName(String name)
public static ShapeType 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<ShapeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |