|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.io.AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>
org.ximtec.igesture.io.mouseclient.MouseReader
public class MouseReader
A mouse reader.
| Constructor Summary | |
|---|---|
MouseReader()
|
|
| Method Summary | |
|---|---|
void |
clear()
Deletes the current gesture. |
void |
connect()
Connect the device. |
void |
disconnect()
Disconnect the device. |
void |
dispose()
Disposes the device. |
List<org.sigtec.ink.Point> |
getChunks()
Returns chunks of a gesture while drawing it. |
Gesture<org.sigtec.ink.Note> |
getGesture()
Returns the gestures. |
void |
handleMouseEvent(int x,
int y,
EnumSet<MouseUtils.MouseButton> buttons)
Receives mouse events |
void |
init()
Initializes the device. |
| Methods inherited from class org.ximtec.igesture.io.AbstractGestureDevice |
|---|
addGestureHandler, fireGestureEvent, getConnectionType, getDeviceClass, getDeviceID, getDeviceType, getName, isConnectable, isConnected, isDefaultDevice, isDisconnectable, removeAllGestureHandler, removeAllListener, removeGestureHandler, setConnectionType, setDefaultDevice, setDeviceID, setDeviceType, setIsConnected, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MouseReader()
| Method Detail |
|---|
public void handleMouseEvent(int x,
int y,
EnumSet<MouseUtils.MouseButton> buttons)
MouseHandler
handleMouseEvent in interface MouseHandlerpublic List<org.sigtec.ink.Point> getChunks()
GestureDevice
getChunks in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public Gesture<org.sigtec.ink.Note> getGesture()
GestureDevice
getGesture in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void init()
GestureDevice
init in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void dispose()
GestureDevice
dispose in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void clear()
GestureDevice
clear in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void connect()
Device
connect in interface Deviceconnect in class AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void disconnect()
Device
disconnect in interface Devicedisconnect in class AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||