y.layout.hierarchic.incremental
Interface IntValueHolder


public interface IntValueHolder

Used by HierarchicLayouter to write back layering information.

See Also:
HierarchicLayouter.LAYER_VALUE_HOLDER_DPKEY
 

Method Summary
 int getValue()
          Can be used to retrieve the value of the current context.
 boolean providesValue()
          Can be used to find out whether the current context provides a value.
 void setValue(int value)
          Called by the algorithm to store the value.
 

Method Detail

setValue

void setValue(int value)
Called by the algorithm to store the value.

Parameters:
value - the value to store for the current context

getValue

int getValue()
Can be used to retrieve the value of the current context.

Returns:
the current value

providesValue

boolean providesValue()
Can be used to find out whether the current context provides a value.

Returns:
whether meaningful value can be queried from the current context

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