public class IncrementalLayoutListener extends Object implements GraphViewListener
Constructor and Description |
---|
IncrementalLayoutListener(IncrementalLayout layout,
Filter filter)
Construct a new listener that invokes the given incremental layout
whenever a graph event is received.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public IncrementalLayoutListener(IncrementalLayout layout, Filter filter)
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
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.