Search this API

y.layout.hierarchic.incremental
Class HierarchicLayouter.IncrementalHint

java.lang.Object
  extended by y.layout.hierarchic.incremental.HierarchicLayouter.IncrementalHint
Enclosing class:
HierarchicLayouter

public static final class HierarchicLayouter.IncrementalHint
extends Object

Hint objects used internally by this layout algorithm implementation.

See Also:
IncrementalHintsFactory, NodeData.getIncrementalHint()

Field Summary
static HierarchicLayouter.IncrementalHint NONE
          Convenience singleton instance of type TYPE_NONE
static byte TYPE_LAYER_INCREMENTALLY_HINT
          Type specifier that is used for nodes that shall be inserted into the drawing incrementally.
static byte TYPE_NONE
          Type specifier that is used as a dummy.
static byte TYPE_PLACE_USING_EXACT_COORDINATES
          Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for both the position within the layer and the position in the sequence.
static byte TYPE_PLACE_USING_EXACT_LAYER_COORDINATE
          Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for the position within the layer.
static byte TYPE_PLACE_USING_EXACT_SEQUENCE_COORDINATE
          Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for the position within the sequence in the layer.
static byte TYPE_SEQUENCE_INCREMENTALLY_HINT
          Type specifier that is used for edges that shall be inserted into the drawing incrementally.
 
Method Summary
 byte getType()
          Returns the type constant for this hint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NONE

public static final byte TYPE_NONE
Type specifier that is used as a dummy. This hint actually tells the algorithm that the corresponding element should not be treated as an incrementally added element.

See Also:
Constant Field Values

TYPE_LAYER_INCREMENTALLY_HINT

public static final byte TYPE_LAYER_INCREMENTALLY_HINT
Type specifier that is used for nodes that shall be inserted into the drawing incrementally.

See Also:
IncrementalHintsFactory.createLayerIncrementallyHint(Object), Constant Field Values

TYPE_SEQUENCE_INCREMENTALLY_HINT

public static final byte TYPE_SEQUENCE_INCREMENTALLY_HINT
Type specifier that is used for edges that shall be inserted into the drawing incrementally.

See Also:
IncrementalHintsFactory.createSequenceIncrementallyHint(Object), Constant Field Values

TYPE_PLACE_USING_EXACT_COORDINATES

public static final byte TYPE_PLACE_USING_EXACT_COORDINATES
Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for both the position within the layer and the position in the sequence.

See Also:
IncrementalHintsFactory.createUseExactCoordinatesHint(Object), TYPE_PLACE_USING_EXACT_LAYER_COORDINATE, TYPE_PLACE_USING_EXACT_SEQUENCE_COORDINATE, Constant Field Values

TYPE_PLACE_USING_EXACT_SEQUENCE_COORDINATE

public static final byte TYPE_PLACE_USING_EXACT_SEQUENCE_COORDINATE
Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for the position within the sequence in the layer.

See Also:
IncrementalHintsFactory.createUseExactSequenceCoordinatesHint(Object), Constant Field Values

TYPE_PLACE_USING_EXACT_LAYER_COORDINATE

public static final byte TYPE_PLACE_USING_EXACT_LAYER_COORDINATE
Type specifier that is used for nodes that shall be placed into the drawing from sketch using the exact current coordinates for the position within the layer.

See Also:
IncrementalHintsFactory.createUseExactLayerCoordinatesHint(Object), Constant Field Values

NONE

public static final HierarchicLayouter.IncrementalHint NONE
Convenience singleton instance of type TYPE_NONE

Method Detail

getType

public byte getType()
Returns the type constant for this hint.

Returns:
either TYPE_NONE, TYPE_LAYER_INCREMENTALLY_HINT, TYPE_SEQUENCE_INCREMENTALLY_HINT, TYPE_PLACE_USING_EXACT_COORDINATES, TYPE_PLACE_USING_EXACT_LAYER_COORDINATE, or TYPE_PLACE_USING_EXACT_SEQUENCE_COORDINATE

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.