|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.mtinput.MultiTouchInputComponent
public class MultiTouchInputComponent
The Class MultiTouchInputComponent.
| Constructor Summary | |
|---|---|
MultiTouchInputComponent(IMultiTouchInputSource source)
Instantiates a new multi touch input component. |
|
| Method Summary | |
|---|---|
void |
addMultiTouchInputFilter(IMultiTouchInputFilter filter)
Adds the multi touch input filter. |
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<java.lang.Class<? extends IMultiTouchInputFilter>> |
getActiveFilterClasses()
Gets the active filter classes. |
boolean |
isFilterActive(java.lang.Class<? extends IMultiTouchInputFilter> filter)
Checks if is filter active. |
boolean |
isMultiTouchInputEnabled()
Checks if is multi touch input 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 |
registerMultiTouchEventListener(IMultiTouchEventListener listener)
Register multi touch event listener. |
void |
registerMultiTouchEventListener(IMultiTouchEventListener listener,
int index)
Register multi touch event listener. |
void |
setMultiTouchInputEnabled(boolean isMultiTouchInputEnabled)
Sets the multi touch input enabled. |
void |
setSource(IMultiTouchInputSource source)
Sets the source. |
void |
unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
Unregister multi touch event listener. |
void |
update(float tpf)
Update. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiTouchInputComponent(IMultiTouchInputSource source)
source - the source| Method Detail |
|---|
public void addMultiTouchInputFilter(IMultiTouchInputFilter filter)
filter - the filterpublic void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged in interface IMultiTouchEventListenerevent - the eventpublic void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorClicked in interface IMultiTouchEventListenerevent - the eventpublic void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorPressed in interface IMultiTouchEventListenerevent - the eventpublic void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorReleased in interface IMultiTouchEventListenerevent - the eventpublic java.util.List<java.lang.Class<? extends IMultiTouchInputFilter>> getActiveFilterClasses()
public boolean isFilterActive(java.lang.Class<? extends IMultiTouchInputFilter> filter)
filter - the filter
public boolean isMultiTouchInputEnabled()
public void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectAdded in interface IMultiTouchEventListenerevent - the eventpublic void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectChanged in interface IMultiTouchEventListenerevent - the eventpublic void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectRemoved in interface IMultiTouchEventListenerevent - the eventpublic void registerMultiTouchEventListener(IMultiTouchEventListener listener)
listener - the listener
public void registerMultiTouchEventListener(IMultiTouchEventListener listener,
int index)
listener - the listenerindex - the indexpublic void setMultiTouchInputEnabled(boolean isMultiTouchInputEnabled)
isMultiTouchInputEnabled - the new multi touch input enabledpublic void setSource(IMultiTouchInputSource source)
source - the new sourcepublic void unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
listener - the listenerpublic void update(float tpf)
tpf - the tpf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||