ConForM.CoopnTools.CoKer.Visual
Class IncrementalLayouter
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.Visual.Layouter
|
+--ConForM.CoopnTools.CoKer.Visual.IncrementalLayouter
- public abstract class IncrementalLayouter
- extends Layouter
Abstract Incremental Layouter of Graphical Visual Elements. An incremental
layouter has a
doIncrementalLayout for the aumotamic partial layout of some elements
of a renderable group, in addition to its doLayout
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.Layouter |
env |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementalLayouter
public IncrementalLayouter(CoopnEnv env)
- Simple constructor.
addFixedNode
protected abstract void addFixedNode(GraphicalVisualShape node,
java.lang.Object graph)
- Add a fixed node to the graph (imported as an Object from the layouter).
abstract method top be implemented by actual layouters.
doIncrementalLayout
public void doIncrementalLayout(GraphicalVisualRenderableGroup group,
java.util.Set movingElements)
- doLayout command. The layout is performed according
to the hierarchy of graphical elements, i.e. containers are layouted
before to be included into a more general group.
- Parameters:
group
- the main group to layout.movingElements
- the set of the elements the layout of which
can be modified during the layout.
defaultIncrementalLayouter
public static IncrementalLayouter defaultIncrementalLayouter(CoopnEnv env)
- Get the default incremental layouter.