public class IncrLayoutAdapter extends Object implements IncrementalLayout
| Constructor and Description |
|---|
IncrLayoutAdapter(GlobalLayout global)
Construct a new adapter that uses the given global layout for
every change in the graph, and operates within the context of
the given layout target.
|
| Modifier and Type | Method and Description |
|---|---|
void |
edgeDrawn(Object edge)
Called in response to the edge head being changed.
|
void |
edgeRouted(Object edge)
Called in response to the edge tail being changed.
|
LayoutTarget |
getLayoutTarget()
Return the layout target.
|
void |
layout(Object composite)
Call the global layout on the graph.
|
void |
nodeDrawn(Object node)
Called in response to the given node being added.
|
void |
nodeMoved(Object node)
Called in response to the given node being moved.
|
void |
setLayoutTarget(LayoutTarget target)
Set the layout target.
|
public IncrLayoutAdapter(GlobalLayout global)
public void nodeDrawn(Object node)
nodeDrawn in interface IncrementalLayoutpublic void nodeMoved(Object node)
nodeMoved in interface IncrementalLayoutpublic void edgeDrawn(Object edge)
edgeDrawn in interface IncrementalLayoutpublic void edgeRouted(Object edge)
edgeRouted in interface IncrementalLayoutpublic LayoutTarget getLayoutTarget()
getLayoutTarget in interface GlobalLayoutpublic void setLayoutTarget(LayoutTarget target)
setLayoutTarget in interface GlobalLayoutpublic void layout(Object composite)
layout in interface GlobalLayoutCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.