public class TablePosApp extends java.lang.Object implements IMultiTouchEventListener, IMultiplicityApp
Constructor and Description |
---|
TablePosApp() |
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.
|
void |
freshStart()
Fresh start.
|
java.lang.String |
getFriendlyAppName()
Gets the friendly app name.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
moveLine(MultiTouchCursorEvent event,
ILine line)
Move line.
|
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 |
onDestroy()
On destroy.
|
void |
shouldStart(MultiTouchInputComponent input,
IQueueOwner iqo)
Should start.
|
void |
shouldStop()
Should stop.
|
public static void main(java.lang.String[] args)
args
- the argumentspublic void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged
in interface IMultiTouchEventListener
public void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorClicked
in interface IMultiTouchEventListener
public void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorPressed
in interface IMultiTouchEventListener
public void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorReleased
in interface IMultiTouchEventListener
public void freshStart()
public java.lang.String getFriendlyAppName()
IMultiplicityApp
getFriendlyAppName
in interface IMultiplicityApp
public void moveLine(MultiTouchCursorEvent event, ILine line)
event
- the eventline
- the linepublic void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectAdded
in interface IMultiTouchEventListener
public void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectChanged
in interface IMultiTouchEventListener
public void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectRemoved
in interface IMultiTouchEventListener
public void onDestroy()
IMultiplicityApp
onDestroy
in interface IMultiplicityApp
public void shouldStart(MultiTouchInputComponent input, IQueueOwner iqo)
IMultiplicityApp
shouldStart
in interface IMultiplicityApp
input
- the inputiqo
- the iqopublic void shouldStop()
IMultiplicityApp
shouldStop
in interface IMultiplicityApp