|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IncrementalHintsFactory
Factory interface for IncrementalHierarchicLayouter.
Use this factory to obtain hints that will be interpreted by the layouter if
they are bound to a DataProvider instance that is registered with the LayoutGraph
using the IncrementalHierarchicLayouter.INCREMENTAL_HINTS_DPKEY
key.
An instance of a class implementing this interface can be obtained through
IncrementalHierarchicLayouter.createIncrementalHintsFactory().

| Method Summary | |
|---|---|
Object |
createLayerIncrementallyHint(Node forNode)
Creates a hint object for a node that should be inserted incrementally after the layering phase. |
Object |
createSequenceIncrementallyHint(Edge forEdge)
Creates a hint object for an edge that should be routed incrementally after the sequencing phase. |
Object |
createSequenceIncrementallyHint(Node forNode)
Creates a hint object for a node that should be inserted incrementally after the sequencing phase. |
Object |
createUseExactCoordinatesHint(Node forNode)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current position. |
Object |
createUseExactLayerCoordinatesHint(Node forNode)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current layer position. |
Object |
createUseExactSequenceCoordinatesHint(Node forNode)
Creates a hint object for a node that should be inserted incrementally into the graph at its exact current sequence position. |
| Method Detail |
|---|
Object createLayerIncrementallyHint(Node forNode)
forNode - the node to be layered and sequenced incrementally together
with its adjacent edges and possibly marked neighboring nodes.
HierarchicLayouterObject createSequenceIncrementallyHint(Node forNode)
HierarchicLayouter.getLayerer() implementation, i.e. "from sketch".
Adjacent edges will automatically be be rerouted optimally.
forNode - the node to be sequenced/inserted incrementally
HierarchicLayouterObject createUseExactCoordinatesHint(Node forNode)
layerer
implementation. The position within its layer
will be determined by its current position.
forNode - the node to be placed at its exact current position
HierarchicLayoutercreateUseExactSequenceCoordinatesHint(y.base.Node),
createUseExactLayerCoordinatesHint(y.base.Node),
SimplexNodePlacer.setExactPlacementEnforced(boolean)Object createUseExactLayerCoordinatesHint(Node forNode)
layerer
at the position that it occupies initially. The position within its layer
will be determined by the NodePlacer.
forNode - the node to be placed at its exact current layer position
HierarchicLayoutercreateUseExactCoordinatesHint(y.base.Node),
createUseExactSequenceCoordinatesHint(y.base.Node),
SimplexNodePlacer.setExactPlacementEnforced(boolean)Object createUseExactSequenceCoordinatesHint(Node forNode)
layerer
at the position that is deemed best for its layer. The position within the sequence of its layer
will be determined by its current coordinates.
forNode - the node to be placed at its exact current sequence position
HierarchicLayoutercreateUseExactCoordinatesHint(y.base.Node),
createUseExactLayerCoordinatesHint(y.base.Node),
SimplexNodePlacer.setExactPlacementEnforced(boolean)Object createSequenceIncrementallyHint(Edge forEdge)
forEdge - the edge to be rerouted/inserted incrementally
HierarchicLayouter
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||