com.tensegrity.composite
Interface CompositeState

All Known Subinterfaces:
CompositeGroupState, CompositeTableState

public interface CompositeState

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

Version:
$Id: CompositeState.java,v 1.5 2005/07/14 11:10:40 MichaelKegel Exp $
Author:
MKegel

Method Summary
 int getEventMask()
          Returns the eventmask for the Composite at the time the CompositeState was created
 Coordinate getLocation()
          Returns the location of the Composite at the time the CompositeState was created.
 Size getMinimumSize()
          Returns the minimum size for the Composite at the time the CompositeState was created
 java.util.Map getPrimitiveStateMap()
           
 Size getSize()
          Returns the size of the Composite at the time the CompositeState was created.
 

Method Detail

getLocation

public Coordinate getLocation()
Returns the location of the Composite at the time the CompositeState was created.

Returns:
Coordinate the location of the Composite

getSize

public Size getSize()
Returns the size of the Composite at the time the CompositeState was created.

Returns:
Size the size of the Composite

getMinimumSize

public Size getMinimumSize()
Returns the minimum size for the Composite at the time the CompositeState was created

Returns:
Size the minimum size for the Composite

getEventMask

public int getEventMask()
Returns the eventmask for the Composite at the time the CompositeState was created

Returns:
int the eventmask for the Composite

getPrimitiveStateMap

public java.util.Map getPrimitiveStateMap()


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