org.ximtec.igesture.core
Class TestClass
java.lang.Object
org.ximtec.igesture.core.DefaultPropertyChangeNotifier
org.ximtec.igesture.core.DefaultDataObject
org.ximtec.igesture.core.TestClass
- All Implemented Interfaces:
- Serializable, DataObject, PropertyChangeNotifier
public class TestClass
- extends DefaultDataObject
Comment
- Version:
- 1.0 27.10.2008
- Author:
- Ueli Kurmann
- See Also:
- Serialized Form
PROPERTY_GESTURES
public static final String PROPERTY_GESTURES
- See Also:
- Constant Field Values
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
TestClass
public TestClass(String name)
getName
public String getName()
- Returns the name of the gesture
- Returns:
setName
public void setName(String name)
getGestures
public List<Gesture<?>> getGestures()
- Returns a shallow copy of the gesture instances.
- Returns:
- a shallow copy of the gesture instances.
add
public void add(Gesture<?> gesture)
- Add a gesture to the test class
- Parameters:
gesture -
remove
public void remove(Gesture<?> gesture)
- Remove a gesture from the test class
- Parameters:
gesture -
size
public int size()
- Returns the number of gestures in the test set.
- Returns:
- the number of gestures in the test set.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
accept
public void accept(Visitor visitor)
- Description copied from class:
DefaultDataObject
- Accepts a visitor.
- Specified by:
accept in interface DataObject- Overrides:
accept in class DefaultDataObject
- Parameters:
visitor - the visitor to be used.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.