Search this API

y.layout.hierarchic.incremental
Interface IntValueHolder


public interface IntValueHolder

Used by HierarchicLayouter to write back layering information.

See Also:
HierarchicLayouter.LAYER_VALUE_HOLDER_DPKEY, IntValueHolderAdapter

Method Summary
 int getValue()
          Returns the value of the current context.
 boolean providesValue()
          Returns whether the current context provides a value.
 void setValue(int value)
          Sets the value of the current context.
 

Method Detail

setValue

void setValue(int value)
Sets the value of the current context.

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

getValue

int getValue()
Returns the value of the current context.

Returns:
the current value.

providesValue

boolean providesValue()
Returns whether the current context provides a value.

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

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