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, objectRemoved
public void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged
in interface IMultiTouchEventListener
cursorChanged
in class MultiTouchEventAdapter
public 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