|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.hierarchic.incremental.GivenSequenceSequencer
public class GivenSequenceSequencer
This LayerSequencer implementation returns a sequencing that satisfies a comparator constraint.
![]() |
![]() |
| Constructor Summary | |
|---|---|
GivenSequenceSequencer()
Creates a new instance of GivenSequenceSequencer |
|
GivenSequenceSequencer(Comparator c)
Creates a new instance of GivenSequenceSequencer using the specified comparator for the sequencing. |
|
| Method Summary | |
|---|---|
Comparator |
getSequenceComparator()
Getter for property sequenceComparator. |
void |
sequenceNodeLayers(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called by HierarchicLayouter during the second phase. |
void |
setSequenceComparator(Comparator sequenceComparator)
Setter for property sequenceComparator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GivenSequenceSequencer()
public GivenSequenceSequencer(Comparator c)
| Method Detail |
|---|
public Comparator getSequenceComparator()
public void setSequenceComparator(Comparator sequenceComparator)
sequenceComparator - New value of property sequenceComparator.
public void sequenceNodeLayers(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
SequencerHierarchicLayouter 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 Sequencergraph - the graph that contains the elements from layerslayers - the Layer implementation that holds the Layers for sequencingldp - the LayoutDataProvider that provides the necessary NodeData
and EdgeDataitemFactory - an ItemFactory implementation that can be used to modify the
graph consistently
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||