public class ThreeDRotateInteraction extends java.lang.Object implements IBehaviour, IMultiTouchEventListener
| Constructor and Description |
|---|
ThreeDRotateInteraction() |
| Modifier and Type | Method and Description |
|---|---|
void |
cursorChanged(MultiTouchCursorEvent event)
Cursor is on the table, and moves, or rotates, or changes in some way.
|
void |
cursorClicked(MultiTouchCursorEvent event)
Cursor clicked.
|
void |
cursorPressed(MultiTouchCursorEvent event)
Cursor press arriving on the table.
|
void |
cursorReleased(MultiTouchCursorEvent event)
Cursor left the table.
|
IItem |
getParentItem()
Gets the parent item.
|
void |
objectAdded(MultiTouchObjectEvent event)
Object/fiducial is added to the table.
|
void |
objectChanged(MultiTouchObjectEvent event)
Object/fiducial is changed - position or rotation.
|
void |
objectRemoved(MultiTouchObjectEvent event)
Object/fiducial is removed from the table.
|
void |
setActive(boolean active)
Set whether a behaviour executes events
|
void |
setEventSource(IItem newSourceItem)
The item whose multi-touch event dispatcher will generate the events that
this behaviour will respond to.
|
void |
setItemActingOn(IItem item)
The item that the behaviour should operate on.
|
void |
setParentItem(IItem parentItem)
Sets the parent item.
|
void |
setStage(IStage stage)
Behaviours usually need to know about the stage.
|
public void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListenercursorChanged in interface IMultiTouchEventListenerpublic void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListenercursorClicked in interface IMultiTouchEventListenerpublic void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListenercursorPressed in interface IMultiTouchEventListenerpublic void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListenercursorReleased in interface IMultiTouchEventListenerpublic IItem getParentItem()
public void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListenerobjectAdded in interface IMultiTouchEventListenerpublic void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListenerobjectChanged in interface IMultiTouchEventListenerpublic void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListenerobjectRemoved in interface IMultiTouchEventListenerpublic void setActive(boolean active)
IBehavioursetActive in interface IBehaviourpublic void setEventSource(IItem newSourceItem)
IBehavioursetEventSource in interface IBehaviourpublic void setItemActingOn(IItem item)
IBehavioursetItemActingOn in interface IBehaviourpublic void setParentItem(IItem parentItem)
parentItem - the new parent itempublic void setStage(IStage stage)
IBehavioursetStage in interface IBehaviour