|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.AbstractLayoutStage y.layout.hierarchic.incremental.PartitionGridLayoutStage
public class PartitionGridLayoutStage
This class implements a layout stage
that handles a given partition
grid
structure.
Information about the partition grid
structure are held by a DataProvider
registered
with the graph with key PartitionGrid.PARTITION_GRID_DPKEY
.
IncrementalHierarchicLayouter
, if required.PartitionGrid
,
IncrementalHierarchicLayouter
Field Summary |
---|
Fields inherited from interface y.layout.Layouter |
---|
EDGE_ID_DPKEY, NODE_ID_DPKEY, NODE_TYPE_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
---|---|
PartitionGridLayoutStage()
Creates a new instance of PartitionGridLayoutStage . |
Method Summary | |
---|---|
boolean |
canLayout(LayoutGraph graph)
Accepts all graphs that are accepted by the specified core layout algorithm . |
void |
doLayout(LayoutGraph graph)
Calculates the layout based on a PartitionGrid structure. |
Methods inherited from class y.layout.AbstractLayoutStage |
---|
canLayoutCore, doLayoutCore, getCoreLayouter, setCoreLayouter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionGridLayoutStage()
PartitionGridLayoutStage
.
Method Detail |
---|
public boolean canLayout(LayoutGraph graph)
core layout algorithm
.
graph
- the input graph
true
if the core layout algorithm
accepts this
graph or is null
, false
otherwise.Layouter.doLayout(LayoutGraph)
public void doLayout(LayoutGraph graph)
PartitionGrid
structure.
If no PartitionGrid
structure exists, the core layouter will be
called immediately.
graph
- the input graphLayouter.canLayout(LayoutGraph)
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |