|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LayoutType>
org.topcased.modeler.diagramconfigurator.LayoutType
public enum LayoutType
A representation of the literals of the enumeration 'Layout Type', and utility methods for working with them.
DiagramconfiguratorPackage.getLayoutType()
Enum Constant Summary | |
---|---|
CLASS_LAYOUT_LITERAL
The 'Class Layout' literal object. | |
MULTI_PORT_LAYOUT_LITERAL
The 'Multi Port Layout' literal object. | |
PORT_LAYOUT_LITERAL
The 'Port Layout' literal object. | |
TOOLBAR_LAYOUT_LITERAL
The 'Toolbar Layout' literal object. | |
XY_LAYOUT_LITERAL
The 'XY Layout' literal object. |
Field Summary | |
---|---|
static int |
CLASS_LAYOUT
The 'Class Layout' literal value. |
static int |
MULTI_PORT_LAYOUT
The 'Multi Port Layout' literal value. |
static int |
PORT_LAYOUT
The 'Port Layout' literal value. |
static int |
TOOLBAR_LAYOUT
The 'Toolbar Layout' literal value. |
static java.util.List<LayoutType> |
VALUES
A public read-only list of all the 'Layout Type' enumerators. |
static int |
XY_LAYOUT
The 'XY Layout' literal value. |
Method Summary | |
---|---|
static LayoutType |
get(int value)
Returns the 'Layout Type' literal with the specified integer value. |
static LayoutType |
get(java.lang.String literal)
Returns the 'Layout Type' literal with the specified literal value. |
static LayoutType |
getByName(java.lang.String name)
Returns the 'Layout Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static LayoutType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LayoutType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LayoutType XY_LAYOUT_LITERAL
XY_LAYOUT
public static final LayoutType CLASS_LAYOUT_LITERAL
CLASS_LAYOUT
public static final LayoutType TOOLBAR_LAYOUT_LITERAL
TOOLBAR_LAYOUT
public static final LayoutType PORT_LAYOUT_LITERAL
PORT_LAYOUT
public static final LayoutType MULTI_PORT_LAYOUT_LITERAL
MULTI_PORT_LAYOUT
Field Detail |
---|
public static final int XY_LAYOUT
If the meaning of 'XY Layout' literal object isn't clear, there really should be more of a description here...
XY_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int CLASS_LAYOUT
If the meaning of 'Class Layout' literal object isn't clear, there really should be more of a description here...
CLASS_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int TOOLBAR_LAYOUT
If the meaning of 'Toolbar Layout' literal object isn't clear, there really should be more of a description here...
TOOLBAR_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int PORT_LAYOUT
If the meaning of 'Port Layout' literal object isn't clear, there really should be more of a description here...
PORT_LAYOUT_LITERAL
,
Constant Field Valuespublic static final int MULTI_PORT_LAYOUT
If the meaning of 'Multi Port Layout' literal object isn't clear, there really should be more of a description here...
MULTI_PORT_LAYOUT_LITERAL
,
Constant Field Valuespublic static final java.util.List<LayoutType> VALUES
Method Detail |
---|
public static final LayoutType[] values()
for(LayoutType c : LayoutType.values()) System.out.println(c);
public static LayoutType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static LayoutType get(java.lang.String literal)
public static LayoutType getByName(java.lang.String name)
public static LayoutType get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<LayoutType>
|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.