public abstract class CardinalityConstraint extends IntervalConstraint
DEFAULT_CONFIGURATION, gestures, parameterMapping, parameters, PROPERTY_CONSTRAINT_PARAMETER_VALUE, PROPERTY_GESTURESPROPERTY_IDpropertyChangeSupport| Constructor and Description |
|---|
CardinalityConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGestureClass(String gestureClass)
Add a gesture class to the composite gesture.
|
void |
addGestureClass(String gestureClass,
int user)
Add a gesture class to the composite gesture and specify the user that performs it.
|
void |
addGestureClass(String gestureClass,
int user,
String deviceType,
Set<String> devices)
Add a gesture class to the composite gesture and specify the user and the device type used to perform it.
|
void |
addGestureClass(String gestureClass,
String deviceType,
Set<String> devices)
Add a gesture class to the composite gesture and specify the device type used to perform it.
|
Set<String> |
generatePatterns(Map<String,String> charMapping)
Generate all possible string patterns that represent the composite gesture.
|
toStringaddConstraintParameters, determineTimeWindows, getConstraintParameters, getDistinctGestureClasses, getGestureClasses, getGestureEntries, getNumberOfGestures, getParameter, getParameters, removeAllConstraintParameters, removeAllGestureClasses, removeGestureClass, setParameter, validateConditionsaccept, getId, setIdaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic void addGestureClass(String gestureClass)
ConstraintaddGestureClass in interface ConstraintaddGestureClass in class DefaultConstraintpublic void addGestureClass(String gestureClass, int user)
ConstraintaddGestureClass in interface ConstraintaddGestureClass in class DefaultConstraintpublic void addGestureClass(String gestureClass, String deviceType, Set<String> devices)
ConstraintaddGestureClass in interface ConstraintaddGestureClass in class DefaultConstraintpublic void addGestureClass(String gestureClass, int user, String deviceType, Set<String> devices)
ConstraintaddGestureClass in interface ConstraintaddGestureClass in class DefaultConstraintpublic Set<String> generatePatterns(Map<String,String> charMapping)
ConstraintgeneratePatterns in interface ConstraintgeneratePatterns in class DefaultConstraintcharMapping - Mapping between the gesture class name and the character representationCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.