com.tensegrity.composite
Interface CompositeTableState

All Superinterfaces:
CompositeState

public interface CompositeTableState
extends CompositeState

The CompositeTableState interface defines a memento of the current state of a CompositeGroup. An instance of such an object can be obtained from and applied to a CompositeGroup.
Notice:The CompositeTableState keeps only the states of elementary information about a CompositeGroup so that information about the current geometry, style, children and such is not remembered by an instance of this interface and hence not reapplied.

Version:
$Id: CompositeTableState.java,v 1.1 2005/08/22 12:30:24 BurkhardWick Exp $
Author:
MKegel

Method Summary
 java.util.Map getChildStateMap()
           
 double[] getCoordinateSystemValues()
           
 CompositeState getFoldedRepresentationState()
           
 int getFoldState()
          Returns a constant that defines the fold-state of the CompositeGroup at the time the CompositeTableState was created.
 CompositeState getFoldStateButtonState()
           
 Size getFoldStateSize()
          Returns the size for a certain fold-state of the CompositeGroup at the time the CompositeTableState was created.
 boolean isFoldable()
          Returns a boolean that indicates whether the CompositeGroup was foldable at the time the CompositeTableState was created.
 
Methods inherited from interface com.tensegrity.composite.CompositeState
getEventMask, getLocation, getMinimumSize, getPrimitiveStateMap, getSize
 

Method Detail

getCoordinateSystemValues

public double[] getCoordinateSystemValues()

isFoldable

public boolean isFoldable()
Returns a boolean that indicates whether the CompositeGroup was foldable at the time the CompositeTableState was created.

Returns:
boolean a flag that indicates whether the CompositeGroup is foldable

getFoldState

public int getFoldState()
Returns a constant that defines the fold-state of the CompositeGroup at the time the CompositeTableState was created.

Returns:
int the fold-state of the CompositeGroup

getFoldStateSize

public Size getFoldStateSize()
Returns the size for a certain fold-state of the CompositeGroup at the time the CompositeTableState was created.

Returns:
Size the size of the CompositeGroup for a certain fold-state

getFoldStateButtonState

public CompositeState getFoldStateButtonState()

getFoldedRepresentationState

public CompositeState getFoldedRepresentationState()

getChildStateMap

public java.util.Map getChildStateMap()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.