org.ximtec.igesture.core.composite
Class DefaultConstraintEntry
java.lang.Object
org.ximtec.igesture.core.DefaultPropertyChangeNotifier
org.ximtec.igesture.core.DefaultDataObject
org.ximtec.igesture.core.composite.DefaultConstraintEntry
- All Implemented Interfaces:
- Serializable, DataObject, PropertyChangeNotifier
public class DefaultConstraintEntry
- extends DefaultDataObject
- Author:
- Bjorn Puype, bpuype@gmail.com
- See Also:
- Serialized Form
DefaultConstraintEntry
public DefaultConstraintEntry(String gesture)
- Constructor, all users and all device are allowed to perform this gesture
- Parameters:
gesture - the gesture
DefaultConstraintEntry
public DefaultConstraintEntry(String gesture,
int user)
- Constructor, all devices are allowed to perform this gesture
- Parameters:
gesture - the gestureuser - the user that performs the gesture
DefaultConstraintEntry
public DefaultConstraintEntry(String gesture,
String deviceType,
Set<String> devices)
- Constructor, all users are allowed to perform this gesture
- Parameters:
gesture - the gesturedeviceType - the device type used to perform the gesturesdevices - the specific devices that may be used to perform the gesture, specify null to allow all devices that are of type deviceType
DefaultConstraintEntry
public DefaultConstraintEntry(String gesture,
int user,
String deviceType,
Set<String> devices)
- Constructor
- Parameters:
gesture - the gestureuser - the user that performs the gesturedeviceType - the device type used to perform the gesturesdevices - the specific devices that may be used to perform the gesture, specify null to allow all devices that are of type deviceType
getGesture
public String getGesture()
- Returns:
- the gesture
getUser
public int getUser()
- Returns:
- the user
getDeviceType
public String getDeviceType()
- Returns:
- the device type
getDevices
public Set<String> getDevices()
- Returns:
- the specific devices
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.