public class PTMListener extends MultiTouchEventAdapter
addPTMListener method. When
the PTM event occurs, that object's appropriate
method is invoked.PTMEvent| Constructor and Description |
|---|
PTMListener() |
| 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 |
setValues(PTM ptm,
PixelTransformOp pixelTransformOp,
PTMCanvas canvas,
float width,
float height,
IStage stage,
IItem parentItem,
PTMEventDispatcher ptmEventDispatcher)
Sets the values.
|
cursorClicked, cursorPressed, cursorReleased, objectAdded, objectChanged, objectRemovedpublic void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListenercursorChanged in interface IMultiTouchEventListenercursorChanged in class MultiTouchEventAdapterpublic void setValues(PTM ptm, PixelTransformOp pixelTransformOp, PTMCanvas canvas, float width, float height, IStage stage, IItem parentItem, PTMEventDispatcher ptmEventDispatcher)
ptm - the ptmpixelTransformOp - the pixel transform opcanvas - the canvaswidth - the widthheight - the heightstage - the stageparentItem - the parent itemptmEventDispatcher - the ptm event dispatcher