public final class PortDirections extends FlagsEnum<PortDirections>
PortCandidate.createCandidate(double, double, PortDirections, double)
,
PortCandidate.createCandidate(PortDirections)
,
PortCandidate.createCandidate(PortDirections, double)
,
PortCandidate.getDirection()
,
PortCandidate.getDirectionForLayoutOrientation(LayoutOrientation)
,
PortCandidate.isInDirection(PortDirections)
,
PortCandidateSet.ICandidateMatcher.findMatchingCandidate(com.yworks.yfiles.algorithms.Edge, boolean, double, double, PortDirections)
,
PortCandidateSet.ICandidateMatcher.findMatchingCandidate(com.yworks.yfiles.algorithms.Edge, boolean, PortDirections)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static PortDirections |
AGAINST_THE_FLOW
A port direction specifier indicating a port lying in the opposite direction of the main flow of the edge or of the
overall layout.
|
static PortDirections |
ANY
A combination of all possible direction specifiers indicating that edges can connect to any side of a node.
|
static PortDirections |
EAST
A port direction specifier indicating a port on the east (i.e., right) side of a node.
|
static PortDirections |
LEFT_IN_FLOW
A port direction specifier indicating a port lying left of the direction of the main flow of the edge or of the overall
layout.
|
static PortDirections |
NORTH
A port direction specifier indicating a port on the north (i.e., top) side of a node.
|
static PortDirections |
RIGHT_IN_FLOW
A port direction specifier indicating a port lying right of the direction of the main flow of the edge or of the overall
layout.
|
static PortDirections |
SOUTH
A port direction specifier indicating a port on the south (i.e., bottom) side of a node.
|
static PortDirections |
WEST
A port direction specifier indicating a port on the west (i.e., left) side of a node.
|
static PortDirections |
WITH_THE_FLOW
A port direction specifier indicating a port lying in the direction of the main flow of the edge or of the overall
layout.
|
Modifier and Type | Method and Description |
---|---|
static PortDirections |
fromName(String name) |
static PortDirections |
fromOrdinal(int value) |
protected PortDirections |
fromOrdinalImpl(int ordinal) |
protected PortDirections[] |
getItems()
Returns all items defined in this FlagsEnum.
|
int |
value() |
and, and, contains, containsAll, doubleValue, equals, equals, floatValue, hashCode, intValue, inverse, inverse, longValue, notContains, notEquals, or, or, ordinal, toString, xor, xor
byteValue, shortValue
public static final PortDirections AGAINST_THE_FLOW
The exact direction is domain-specific.
public static final PortDirections ANY
public static final PortDirections EAST
public static final PortDirections LEFT_IN_FLOW
The exact direction is domain-specific.
public static final PortDirections NORTH
public static final PortDirections RIGHT_IN_FLOW
The exact direction is domain-specific.
public static final PortDirections SOUTH
public static final PortDirections WEST
public static final PortDirections WITH_THE_FLOW
The exact direction is domain-specific.
public static final PortDirections fromName(String name)
public static final PortDirections fromOrdinal(int value)
protected final PortDirections fromOrdinalImpl(int ordinal)
fromOrdinalImpl
in class FlagsEnum<PortDirections>
protected final PortDirections[] getItems()
FlagsEnum
getItems
in class FlagsEnum<PortDirections>
public int value()