y.view.hierarchy
Class DefaultInterEdgeConfigurator
java.lang.Object
|
+--y.view.hierarchy.DefaultInterEdgeConfigurator
- All Implemented Interfaces:
- InterEdgeConfigurator
- public class DefaultInterEdgeConfigurator
- extends Object
- implements InterEdgeConfigurator
This default implementation of the InterEdgeConfigurator performs
some simple heuristics.
Method Summary |
void |
configureEdge(Edge edge,
boolean wasInterEdge,
Node formerSource,
Node formerTarget)
This method will remove all bend and port information
in the case an interedge is converted back to a normal
edge. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultInterEdgeConfigurator
public DefaultInterEdgeConfigurator()
configureEdge
public void configureEdge(Edge edge,
boolean wasInterEdge,
Node formerSource,
Node formerTarget)
- This method will remove all bend and port information
in the case an interedge is converted back to a normal
edge. In all over cases the port of either the source node
or the target node will be reset, depending on which one of
these changed
- Specified by:
configureEdge
in interface InterEdgeConfigurator
- Parameters:
edge
- The edge, which exists in the graph, after the changewasInterEdge
- whether this edge was an interedge before this callformerSource
- the former source node, which may now be somewhere elseformerTarget
- the former target node, which may now be somewhere else