public enum ConnectorOrientation extends java.lang.Enum<ConnectorOrientation> implements ValueEnum
Enum Constant and Description |
---|
AUTO
Tail segments flip orientation according to longer axis of bounding box: if the bounding box is wider than it is tall,
center segment is vertical
|
HORIZONTAL
Tail segments are always horizontal; best for left-to-right connectors
|
VERTICAL
Tail segments are always vertical; best for top-to-bottom connectors
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ConnectorOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorOrientation HORIZONTAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "horizontal".
public static final ConnectorOrientation VERTICAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "vertical".
public static final ConnectorOrientation AUTO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static ConnectorOrientation[] values()
for (ConnectorOrientation c : ConnectorOrientation.values()) System.out.println(c);
public static ConnectorOrientation 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 null