|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PortCandidateSet.CandidateMatcher
The interface that is used by PortCandidateSet
to retrieve PortCandidate
s from.
PortCandidateSet.createMatcher()
Method Summary | |
---|---|
PortCandidateSet.Entry |
findMatchingCandidate()
Returns an the next best matching PortCandidateSet.Entry . |
PortCandidateSet.Entry |
findMatchingCandidate(Edge edge,
boolean source,
double xOffset,
double yOffset,
int directionMask)
Returns the next best matching PortCandidateSet.Entry for the given parameters. |
PortCandidateSet.Entry |
findMatchingCandidate(Edge edge,
boolean source,
int directionMask)
Returns an the next best matching PortCandidateSet.Entry for the given parameters. |
Method Detail |
---|
PortCandidateSet.Entry findMatchingCandidate(Edge edge, boolean source, double xOffset, double yOffset, int directionMask)
PortCandidateSet.Entry
for the given parameters.
edge
- the edge that will connect to the portsource
- whether the edge connects to the node with its source sidexOffset
- the preferred x offset of the connection point (relative to the node's center)yOffset
- the preferred y offset of the connection point (relative to the node's center)directionMask
- a bitwise combination of the constants defined in PortCandidate
indicating the preferred connection points
PortCandidateSet.Entry findMatchingCandidate(Edge edge, boolean source, int directionMask)
PortCandidateSet.Entry
for the given parameters.
edge
- the edge that will connect to the portsource
- whether the edge connects to the node with its source sidedirectionMask
- a bitwise combination of the constants defined in PortCandidate
indicating the preferred connection points
PortCandidateSet.Entry findMatchingCandidate()
PortCandidateSet.Entry
.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |