|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.hierarchic.incremental.AsIsSequencer
public class AsIsSequencer
Sequencer implementation that returns a sequencing that corresponds to the current drawing.
Constructor Summary | |
---|---|
AsIsSequencer()
Creates a new AsIsSequencer |
Method Summary | |
---|---|
void |
sequenceNodeLayers(LayoutGraph g,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called by HierarchicLayouter during the second phase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsIsSequencer()
Method Detail |
---|
public void sequenceNodeLayers(LayoutGraph g, Layers layers, LayoutDataProvider ldp, ItemFactory itemFactory)
Sequencer
HierarchicLayouter
during the second phase.
Calculates a sequence of the nodes in layers
and finally
writes back the calculated sequence using the Layer.setNodeOrder(y.base.YList)
method.
sequenceNodeLayers
in interface Sequencer
g
- the graph that contains the elements from layers
layers
- the Layer implementation that holds the Layers for sequencingldp
- the LayoutDataProvider that provides the necessary NodeData
and EdgeData
itemFactory
- an ItemFactory implementation that can be used to modify the
graph consistently
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |