|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An InteractableLine is a generalization of the
BaseInteractable interface. Therefore it is necessary to read
the documentation of the BaseInteractable interface to have an
understanding of the basics for an interactable object.
| Method Summary | |
Coordinate[] |
calculateCoordinates(InteractionInfo interactionInfo)
|
int |
getActionMode(InteractionItem item)
|
boolean |
isManipulable()
Returns a boolean that indicates whether the
InteractableLine is manipulable or not.
|
void |
setManipulable(boolean manipulable)
Sets the state of the ability to manipulate the InteractableLine to the value given by
manipulable. |
| Methods inherited from interface com.tensegrity.graphics.interaction.BaseInteractable |
getBoundingBox, getInteractionDescriptor, getMoveItem, hits, internalEnableSelection, internalSelect, internalSetSelected, isMovable, isSelectable, isSelected, mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postActing, preActing, select, setMovable, setSelectable, setSelected, startAction, stopAction |
| Method Detail |
public boolean isManipulable()
boolean that indicates whether the
InteractableLine is manipulable or not.
Manipulable means in this case that a single point of the line can
be manipulated.
InteractableLine
is manipulable or not.public void setManipulable(boolean manipulable)
InteractableLine to the value given by
manipulable.
manipulable - the new state for the ability to manipulate the
InteractableLinepublic Coordinate[] calculateCoordinates(InteractionInfo interactionInfo)
public int getActionMode(InteractionItem item)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||