|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.view.VisualPortAssignmentPredicate
com.tensegrity.graph.view.VisualPortAssignmentPredicate.RightToLeftPredicate
This class is a simple implementation of the visualport assignment predicate, that assigns right-to-left ports (based on source/target nodes of an edge).
| Nested Class Summary |
| Constructor Summary | |
VisualPortAssignmentPredicate.RightToLeftPredicate()
Constructs a new RightToLeftPredicate. |
|
| Method Summary | |
VisualPort |
apply(VisualGraph visualgraph,
VisualEdge visualedge,
VisualNode visualnode,
VisualPort visualport,
boolean isSource)
This is the predicate method an implementer of this specification must provide. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VisualPortAssignmentPredicate.RightToLeftPredicate()
RightToLeftPredicate.
| Method Detail |
public VisualPort apply(VisualGraph visualgraph,
VisualEdge visualedge,
VisualNode visualnode,
VisualPort visualport,
boolean isSource)
VisualPortAssignmentPredicateVisualNode as the old port.
Another invariant affects the incoming arguments of the method.
The incoming port VisualPort must always be
a port that is associated with the incoming VisualNode.
apply in class VisualPortAssignmentPredicatevisualgraph - the VisualGraph the connection is in.visualedge - the VisualEdge that is previously connected.visualnode - the VisualNode that is previously connected.visualport - the VisualPort that is previously connected.isSource - false if the connection is a target end, true
if the connection is a source end.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||