public interface Gesture3DDevice<E,F>
| Modifier and Type | Method and Description |
|---|---|
void |
addGestureHandler(GestureEventListener listener)
Add a gesture handler
|
void |
clear()
Deletes the current gesture.
|
void |
connect()
Connect the device.
|
void |
disconnect()
Disconnect the device.
|
void |
dispose()
Disposes the device.
|
List<F> |
getChunks3D()
Returns chunks of a gesture while drawing it.
|
int |
getConnectionType()
Get the connection type of the device.
|
String |
getDeviceID()
Get the unique identifier of the device.
|
int |
getDeviceType()
Get the device type of the device.
|
Gesture<E> |
getGesture3D()
Returns the gestures.
|
String |
getName()
Get the display name for the device.
|
void |
init()
Initializes the device.
|
boolean |
isConnectable()
Check whether the device can be connected by the user or is automatically connected.
|
boolean |
isConnected()
Check whether the device is connected or not.
|
boolean |
isDefaultDevice()
Check whether the device is a default device.
|
boolean |
isDisconnectable()
Check whether the device can be disconnected by the user.
|
void |
removeGestureHandler(GestureEventListener listener)
Remove a gesture handler
|
void |
setConnectionType(int connectionType)
Set the connection type of the device.
|
void |
setDefaultDevice(boolean isDefault)
Set the default device status of the device.
|
void |
setDeviceID(String id)
Set the unique identifier of the device.
|
void |
setDeviceType(int deviceType)
Set the device type of the device.
|
void |
setIsConnected(boolean isConnected)
Change the connection status of the device.
|
void |
setName(String name)
Set the display name for the device.
|
String |
toString() |
void init()
void dispose()
Gesture<E> getGesture3D()
void clear()
List<F> getChunks3D()
void addGestureHandler(GestureEventListener listener)
listener - void removeGestureHandler(GestureEventListener listener)
listener - String getDeviceID()
void setDeviceID(String id)
id - String getName()
void setName(String name)
name - void disconnect()
void connect()
boolean isConnectable()
boolean isDisconnectable()
boolean isConnected()
void setIsConnected(boolean isConnected)
isConnected - The new connection status.int getDeviceType()
void setDeviceType(int deviceType)
deviceType - int getConnectionType()
void setConnectionType(int connectionType)
connectionType - boolean isDefaultDevice()
void setDefaultDevice(boolean isDefault)
isDefault - Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.