|
|||||||||||
| 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.DenotationNamePredicate
Updates the ports accourding to the given name.
| Nested Class Summary |
| Constructor Summary | |
VisualPortAssignmentPredicate.DenotationNamePredicate(java.lang.String name)
Constructs a DenotationNamePredicate instance for
the given name. |
|
| 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.DenotationNamePredicate(java.lang.String name)
DenotationNamePredicate instance for
the given name.
name - the name to match| 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 | ||||||||||