public class MultiTouchEventDispatcher extends java.lang.Object implements IMultiTouchEventListener
| Constructor and Description |
|---|
MultiTouchEventDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IMultiTouchEventListener listener)
Adds the listener.
|
void |
addListeners(java.util.List<IMultiTouchEventListener> listeners)
Adds the listeners.
|
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.
|
java.util.List<IMultiTouchEventListener> |
getListeners()
Gets the listeners.
|
boolean |
isEnabled()
Checks if is enabled.
|
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 |
remove(IMultiTouchEventListener listener)
Removes the.
|
void |
removeListeners(java.util.List<IMultiTouchEventListener> listeners)
Removes the listeners.
|
void |
setEnabled(boolean b)
Sets the enabled.
|
java.lang.String |
toString() |
public void addListener(IMultiTouchEventListener listener)
listener - the listenerpublic void addListeners(java.util.List<IMultiTouchEventListener> listeners)
listeners - the listenerspublic 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 java.util.List<IMultiTouchEventListener> getListeners()
public boolean isEnabled()
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 remove(IMultiTouchEventListener listener)
listener - the listenerpublic void removeListeners(java.util.List<IMultiTouchEventListener> listeners)
listeners - the listenerspublic void setEnabled(boolean b)
b - the new enabledpublic java.lang.String toString()
toString in class java.lang.Object