|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object diva.graph.layout.IncrementalLayoutListener
public class IncrementalLayoutListener
A Listener that applies the given incremental layout whenever a graph event is received. The listener applies an optional filter which can be used to limit the context into which the layout algorithm will be applied.
Red |
Field Summary | |
---|---|
private Filter |
_filter
|
private IncrementalLayout |
_layout
|
Constructor Summary | |
---|---|
IncrementalLayoutListener(IncrementalLayout layout,
Filter filter)
Construct a new listener that invokes the given incremental layout whenever a graph event is received. |
Method Summary | |
---|---|
void |
edgeDrawn(GraphViewEvent e)
A connector representing an edge was just drawn. |
void |
edgeRouted(GraphViewEvent e)
The connector representing an edge was just routed. |
Filter |
getFilter()
Return the filter for this listener. |
IncrementalLayout |
getLayout()
Return the layout. |
void |
nodeDrawn(GraphViewEvent e)
A figure representing a node was just drawn. |
void |
nodeMoved(GraphViewEvent e)
The figure representing a node was moved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IncrementalLayout _layout
private Filter _filter
Constructor Detail |
---|
public IncrementalLayoutListener(IncrementalLayout layout, Filter filter)
Method Detail |
---|
public void edgeDrawn(GraphViewEvent e)
GraphViewListener
edgeDrawn
in interface GraphViewListener
public void edgeRouted(GraphViewEvent e)
GraphViewListener
edgeRouted
in interface GraphViewListener
public Filter getFilter()
public IncrementalLayout getLayout()
public void nodeDrawn(GraphViewEvent e)
GraphViewListener
nodeDrawn
in interface GraphViewListener
public void nodeMoved(GraphViewEvent e)
GraphViewListener
nodeMoved
in interface GraphViewListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |