| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.hierarchic.incremental.AsIsSequencer
public class AsIsSequencer
This class calculates the sequence of the nodes within each layer using the nodes' coordinates.
 For layout orientation
 LayoutOrientation.TOP_TO_BOTTOM, the order corresponds to that obtain when sorting the nodes
 according to their x-coordinate.
 
  An instance of this class can be set to IncrementalHierarchicLayouter using method
  IncrementalHierarchicLayouter.setFixedElementsSequencer(Sequencer) and
  IncrementalHierarchicLayouter.setFromScratchSequencer(Sequencer) respectively.
 


| Constructor Summary | |
|---|---|
| AsIsSequencer()Creates a new AsIsSequencerinstance. | |
| Method Summary | |
|---|---|
|  void | sequenceNodeLayers(LayoutGraph graph,
                   Layers layers,
                   LayoutDataProvider ldp,
                   ItemFactory itemFactory)Calculates the sequence of the nodes within each layer using the nodes' coordinates. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AsIsSequencer()
AsIsSequencer instance.
| Method Detail | 
|---|
public void sequenceNodeLayers(LayoutGraph graph,
                               Layers layers,
                               LayoutDataProvider ldp,
                               ItemFactory itemFactory)
   This method is called by HierarchicLayouter and finally writes back the
   calculated sequence using method Layer.setNodeOrder(y.base.YList).
 
sequenceNodeLayers in interface Sequencergraph - the input graphlayers - the given Layers instance that defines the layering structureldp - the LayoutDataProvider containing information about the nodes and edges of the graphitemFactory - the ItemFactory used for creating and destroying helper structures| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||