public class SwingMouseReader extends AbstractGestureDevice<org.sigtec.ink.Note,Point>
| Constructor and Description |
|---|
SwingMouseReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deletes the current gesture.
|
void |
connect()
Connect the device.
|
void |
disconnect()
Disconnect the device.
|
void |
dispose()
Disposes the device.
|
List<Point> |
getChunks()
Returns chunks of a gesture while drawing it.
|
Gesture<org.sigtec.ink.Note> |
getGesture()
Returns the gestures.
|
JPanel |
getPanel() |
JPanel |
getPanel(Dimension dimension) |
void |
init()
Initializes the device.
|
boolean |
isConnectable()
Check whether the device can be connected by the user or is automatically connected.
|
boolean |
isDisconnectable()
Check whether the device can be disconnected by the user.
|
addGestureHandler, fireGestureEvent, getConnectionType, getDeviceClass, getDeviceID, getDeviceType, getName, isConnected, isDefaultDevice, removeAllGestureHandler, removeAllListener, removeGestureHandler, setConnectionType, setDefaultDevice, setDeviceID, setDeviceType, setIsConnected, setName, toStringpublic JPanel getPanel()
public void clear()
GestureDevicepublic void dispose()
GestureDevicepublic List<Point> getChunks()
GestureDevicepublic Gesture<org.sigtec.ink.Note> getGesture()
GestureDevicepublic void init()
GestureDevicepublic void connect()
Deviceconnect in interface Deviceconnect in class AbstractGestureDevice<org.sigtec.ink.Note,Point>public void disconnect()
Devicedisconnect in interface Devicedisconnect in class AbstractGestureDevice<org.sigtec.ink.Note,Point>public boolean isConnectable()
DeviceisConnectable in interface DeviceisConnectable in class AbstractGestureDevice<org.sigtec.ink.Note,Point>public boolean isDisconnectable()
DeviceisDisconnectable in interface DeviceisDisconnectable in class AbstractGestureDevice<org.sigtec.ink.Note,Point>Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.