|
JTablet 1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabletListener
The listener interface for receiving tablet events on a component (similar to MouseListener
and
MouseMotionListener
).
You can add listeners using TabletManager.addTabletListener(Component, TabletListener)
and
TabletManager.addScreenTabletListener(TabletListener)
.
TabletManager
,
TabletAdapter
,
TabletFunneler
Method Summary | |
---|---|
void |
cursorDragged(TabletEvent event)
Invoked when the cursor is dragged (pressed+moved). |
void |
cursorEntered(TabletEvent event)
Invoked either when the cursor enters the given component, either spatially or through proximity. |
void |
cursorExited(TabletEvent event)
Invoked either when the cursor exits the given component, either spatially or through proximity. |
void |
cursorGestured(TabletEvent event)
Invoked when the user executes a gesture. |
void |
cursorMoved(TabletEvent event)
Invoked when the cursor is moved. |
void |
cursorPressed(TabletEvent event)
Invoked when a button is pressed. |
void |
cursorReleased(TabletEvent event)
Invoked when a button is released. |
void |
cursorScrolled(TabletEvent event)
Invoked when the user scrolls with a wheel or multi-touch scroll device. |
void |
levelChanged(TabletEvent event)
Invoked when a level has changed. |
Method Detail |
---|
void cursorPressed(TabletEvent event)
event
- the event details objectMouseListener.mousePressed(MouseEvent)
void cursorReleased(TabletEvent event)
event
- the event details objectMouseListener.mouseReleased(MouseEvent)
void cursorEntered(TabletEvent event)
event
- the event details objectMouseListener.mouseEntered(MouseEvent)
void cursorExited(TabletEvent event)
event
- the event details objectMouseListener.mouseExited(MouseEvent)
void cursorMoved(TabletEvent event)
event
- the event details objectMouseMotionListener.mouseMoved(MouseEvent)
void cursorDragged(TabletEvent event)
event
- the event details objectMouseMotionListener.mouseDragged(MouseEvent)
void cursorScrolled(TabletEvent event)
event
- the event details objectTabletEvent.Type.SCROLLED
,
TabletEvent.getScrollX()
,
TabletEvent.getScrollY()
void cursorGestured(TabletEvent event)
event
- the event details objectTabletEvent.Type.SWIPED
,
TabletEvent.Type.ROTATED
,
TabletEvent.Type.ZOOMED
void levelChanged(TabletEvent event)
event
- the event details object
|
JTablet 1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |