|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The CompositeGroupState 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 CompositeGroupState 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.
| Method Summary | |
java.util.Map |
getChildStateMap()
|
int |
getContentBorderBottom()
|
int |
getContentBorderLeft()
|
int |
getContentBorderRight()
|
int |
getContentBorderTop()
|
double[] |
getCoordinateSystemValues()
|
CompositeState |
getFoldedRepresentationState()
|
int |
getFoldState()
Returns a constant that defines the fold-state of the CompositeGroup at the time the
CompositeGroupState was created. |
CompositeState |
getFoldStateButtonState()
|
Size |
getFoldStateSize()
Returns the size for a certain fold-state of the CompositeGroup at the time the
CompositeGroupState was created. |
int |
getHorizontalContentBorder()
Returns the horizontal-content-border value of the CompositeGroup at the time the
CompositeGroupState was created. |
int |
getSizeAdjustment()
Returns a constant that defines the size-adjustment mode of the CompositeGroup at the time the
CompositeGroupState was created. |
int |
getVerticalContentBorder()
Returns the vertical-content-border value of the CompositeGroup at the time the
CompositeGroupState was created. |
boolean |
isChildManipulationEnabled()
Returns a boolean that indicates whether the
children of the CompositeGroup are manipulable at the time
the CompositeGroupState was created. |
boolean |
isChildMovementEnabled()
Returns a boolean that indicates whether the
children of the CompositeGroup are movable at the time
the CompositeGroupState was created. |
boolean |
isChildSelectionEnabled()
Returns a boolean that indicates whether the
children of the CompositeGroup are selectable at the time
the CompositeGroupState was created. |
boolean |
isDragSource()
Returns a boolean that indicates whether the
CompositeGroup behave as a drag-source at the time the
CompositeGroupState was created. |
boolean |
isDropTarget()
Returns a boolean that indicates whether the
CompositeGroup behave as a drop-target at the time the
CompositeGroupState was created. |
boolean |
isFoldable()
Returns a boolean that indicates whether the
CompositeGroup was foldable at the time the
CompositeGroupState was created. |
void |
setSizeAdjustment(int sizeadjustment)
Set the size adjustment for this CompositeGroupState to the
value given by sizeadjustment.
|
| Methods inherited from interface com.tensegrity.composite.CompositeState |
getEventMask, getLocation, getMinimumSize, getPrimitiveStateMap, getSize |
| Method Detail |
public int getHorizontalContentBorder()
CompositeGroup at the time the
CompositeGroupState was created.
CompositeGrouppublic int getVerticalContentBorder()
CompositeGroup at the time the
CompositeGroupState was created.
CompositeGrouppublic int getContentBorderLeft()
public int getContentBorderRight()
public int getContentBorderTop()
public int getContentBorderBottom()
public int getSizeAdjustment()
CompositeGroup at the time the
CompositeGroupState was created.
CompositeGrouppublic void setSizeAdjustment(int sizeadjustment)
CompositeGroupState to the
value given by sizeadjustment.
sizeadjustment - the new size adjustment valuepublic double[] getCoordinateSystemValues()
public boolean isChildSelectionEnabled()
boolean that indicates whether the
children of the CompositeGroup are selectable at the time
the CompositeGroupState was created.
CompositeGroup are selectablepublic boolean isChildMovementEnabled()
boolean that indicates whether the
children of the CompositeGroup are movable at the time
the CompositeGroupState was created.
CompositeGroup are movablepublic boolean isChildManipulationEnabled()
boolean that indicates whether the
children of the CompositeGroup are manipulable at the time
the CompositeGroupState was created.
CompositeGroup are manipulablepublic boolean isDragSource()
boolean that indicates whether the
CompositeGroup behave as a drag-source at the time the
CompositeGroupState was created.
CompositeGroup behave as a drag-sourcepublic boolean isDropTarget()
boolean that indicates whether the
CompositeGroup behave as a drop-target at the time the
CompositeGroupState was created.
CompositeGroup behave as a drop-targetpublic boolean isFoldable()
boolean that indicates whether the
CompositeGroup was foldable at the time the
CompositeGroupState was created.
CompositeGroup is foldablepublic int getFoldState()
CompositeGroup at the time the
CompositeGroupState was created.
CompositeGrouppublic Size getFoldStateSize()
CompositeGroup at the time the
CompositeGroupState was created.
CompositeGroup for a certain
fold-statepublic CompositeState getFoldStateButtonState()
public CompositeState getFoldedRepresentationState()
public java.util.Map getChildStateMap()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||