public enum EntityPosition extends java.lang.Enum<EntityPosition>
| Enum Constant and Description |
|---|
ENTRY_POINT |
EXIT_POINT |
EXPANSION_INPUT |
EXPANSION_OUTPUT |
INPUT_PIN |
NORMAL |
OUTPUT_PIN |
PORTIN |
PORTOUT |
| Modifier and Type | Field and Description |
|---|---|
static double |
RADIUS |
| Modifier and Type | Method and Description |
|---|---|
void |
drawSymbol(UGraphic ug,
Rankdir rankdir) |
static EntityPosition |
fromStereotype(java.lang.String label) |
XDimension2D |
getDimension(Rankdir rankdir) |
static java.util.EnumSet<EntityPosition> |
getInputs() |
static java.util.EnumSet<EntityPosition> |
getNormals() |
static java.util.EnumSet<EntityPosition> |
getOutputs() |
ShapeType |
getShapeType() |
boolean |
isInput() |
boolean |
isNormal() |
boolean |
isOutput() |
boolean |
isPort() |
boolean |
usePortP() |
static EntityPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityPosition NORMAL
public static final EntityPosition ENTRY_POINT
public static final EntityPosition EXIT_POINT
public static final EntityPosition INPUT_PIN
public static final EntityPosition OUTPUT_PIN
public static final EntityPosition EXPANSION_INPUT
public static final EntityPosition EXPANSION_OUTPUT
public static final EntityPosition PORTIN
public static final EntityPosition PORTOUT
public static final double RADIUS
public static EntityPosition[] values()
for (EntityPosition c : EntityPosition.values()) System.out.println(c);
public static EntityPosition 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 namejava.lang.NullPointerException - if the argument is nullpublic static java.util.EnumSet<EntityPosition> getInputs()
public static java.util.EnumSet<EntityPosition> getOutputs()
public static java.util.EnumSet<EntityPosition> getNormals()
public boolean isNormal()
public boolean isInput()
public boolean isOutput()
public XDimension2D getDimension(Rankdir rankdir)
public ShapeType getShapeType()
public static EntityPosition fromStereotype(java.lang.String label)
public boolean isPort()
public boolean usePortP()