|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aleax.gui.gesture.GestureInterface
GestureInterface: Provides easy access to gesturing
Field Summary | |
static boolean |
trainingMode
Whether the training mode is active or not |
Method Summary | |
static void |
addGestureListener(GestureListener listener)
|
static void |
beginStroke()
|
static void |
cancelStroke()
|
static void |
completeStroke()
|
static void |
continueStroke(java.awt.Point p)
|
static void |
disableGestures(java.awt.Component c)
|
static void |
enableGestures(java.awt.Component c)
|
static Gesture[] |
getGestures()
|
static boolean |
isEnabled()
|
static void |
readSettings(java.io.InputStream is)
Reads the gesture system settings from the given inputStream |
static void |
recalculateAll()
Recalculate all the strokes when one or more filter settings have changed |
static Gesture |
recogniseStroke(Stroke stroke)
|
static void |
removeGestureListener(GestureListener listener)
|
static void |
setEnabled(boolean enabled)
|
static void |
setGestures(Gesture[] newGestures)
|
static void |
writeSettings(java.io.OutputStream out)
Writes the gesture system settings to the given outputStream |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean trainingMode
Method Detail |
public static void readSettings(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception
public static void writeSettings(java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public static Gesture[] getGestures()
public static void setGestures(Gesture[] newGestures)
public static void recalculateAll()
public static void addGestureListener(GestureListener listener)
public static void removeGestureListener(GestureListener listener)
public static void enableGestures(java.awt.Component c)
public static void disableGestures(java.awt.Component c)
public static void setEnabled(boolean enabled)
public static boolean isEnabled()
public static void cancelStroke()
public static void beginStroke()
public static void continueStroke(java.awt.Point p)
public static void completeStroke()
public static Gesture recogniseStroke(Stroke stroke)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |