|
JTablet 1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cello.jtablet.event.TabletAdapter
public abstract class TabletAdapter
This class is a convenience class that implements TabletListener
as empty methods. You can use it to only
implement methods you care about.
MouseAdapter
Constructor Summary | |
---|---|
TabletAdapter()
|
Method Summary | |
---|---|
void |
cursorDragged(TabletEvent ev)
Invoked when the cursor is dragged (pressed+moved). |
void |
cursorEntered(TabletEvent ev)
Invoked either when the cursor enters the given component, either spatially or through proximity. |
void |
cursorExited(TabletEvent ev)
Invoked either when the cursor exits the given component, either spatially or through proximity. |
void |
cursorGestured(TabletEvent ev)
Invoked when the user executes a gesture. |
void |
cursorMoved(TabletEvent ev)
Invoked when the cursor is moved. |
void |
cursorPressed(TabletEvent ev)
Invoked when a button is pressed. |
void |
cursorReleased(TabletEvent ev)
Invoked when a button is released. |
void |
cursorScrolled(TabletEvent ev)
Invoked when the user scrolls with a wheel or multi-touch scroll device. |
void |
levelChanged(TabletEvent ev)
Invoked when a level has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabletAdapter()
Method Detail |
---|
public void cursorEntered(TabletEvent ev)
TabletListener
cursorEntered
in interface TabletListener
ev
- the event details objectMouseListener.mouseEntered(MouseEvent)
public void cursorExited(TabletEvent ev)
TabletListener
cursorExited
in interface TabletListener
ev
- the event details objectMouseListener.mouseExited(MouseEvent)
public void cursorPressed(TabletEvent ev)
TabletListener
cursorPressed
in interface TabletListener
ev
- the event details objectMouseListener.mousePressed(MouseEvent)
public void cursorReleased(TabletEvent ev)
TabletListener
cursorReleased
in interface TabletListener
ev
- the event details objectMouseListener.mouseReleased(MouseEvent)
public void cursorMoved(TabletEvent ev)
TabletListener
cursorMoved
in interface TabletListener
ev
- the event details objectMouseMotionListener.mouseMoved(MouseEvent)
public void cursorDragged(TabletEvent ev)
TabletListener
cursorDragged
in interface TabletListener
ev
- the event details objectMouseMotionListener.mouseDragged(MouseEvent)
public void levelChanged(TabletEvent ev)
TabletListener
levelChanged
in interface TabletListener
ev
- the event details objectpublic void cursorGestured(TabletEvent ev)
TabletListener
cursorGestured
in interface TabletListener
ev
- the event details objectTabletEvent.Type.SWIPED
,
TabletEvent.Type.ROTATED
,
TabletEvent.Type.ZOOMED
public void cursorScrolled(TabletEvent ev)
TabletListener
cursorScrolled
in interface TabletListener
ev
- the event details objectTabletEvent.Type.SCROLLED
,
TabletEvent.getScrollX()
,
TabletEvent.getScrollY()
|
JTablet 1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |