|
|||||||||
Home >> All >> edu >> berkeley >> guir >> quill >> [ gesturelib overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
edu.berkeley.guir.quill.gesturelib
Interface GestureContainer

- All Superinterfaces:
- java.lang.Cloneable, GestureObject
- All Known Implementing Classes:
- AbstractGestureContainer
- public interface GestureContainer
- extends GestureObject
A collection of GestureObjects. Emits a collectionEvent when any contained GestureObject is added, removed, or changes.
This software is distributed under the Berkeley Software License.
Field Summary | |
static java.lang.String |
CHILD_CHANGE_PROP
Used to report property change of a child object. |
static java.lang.String |
CHILDREN_PROP
Used to report that a child has been added or removed. |
static java.lang.String |
NAME_PROP
|
Fields inherited from interface edu.berkeley.guir.quill.gesturelib.GestureObject |
AUTHOR_PROP, ENABLED_PROP, PARENT_PROP |
Method Summary | |
void |
add(GestureObject obj)
|
void |
addCollectionListener(edu.berkeley.guir.quill.util.CollectionListener l)
|
GestureObject |
getChild(int i)
Returns the child object at index i. |
java.lang.Class[] |
getChildTypes()
Returns an array of all the valid types for children of this container. |
java.util.List |
getEnabledChildren()
|
java.lang.String |
getName()
|
boolean |
isChildType(java.lang.Class type)
|
java.util.Iterator |
iterator()
|
void |
remove(GestureObject gestureObj)
Remove a child from this container. |
void |
removeCollectionListener(edu.berkeley.guir.quill.util.CollectionListener l)
|
void |
setName(java.lang.String name)
|
void |
setPropertyOnTree(java.lang.String propName,
java.lang.Object value)
Set the property on the entire subtree |
int |
size()
|
Methods inherited from interface edu.berkeley.guir.quill.gesturelib.GestureObject |
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, getAuthor, getParent, getProperty, hasProperty, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setAuthor, setEnabled, setParent, setProperty, unsetProperty |
Field Detail |
NAME_PROP
public static final java.lang.String NAME_PROP
- See Also:
- Constant Field Values
CHILDREN_PROP
public static final java.lang.String CHILDREN_PROP
- Used to report that a child has been added or removed. If a
child has been added, the old value is null and the new value is
the new child. If a child has been removed, the new value is
null and the old value is the child. Cannot be used with
getProperty() or setProperty().
- See Also:
- Constant Field Values
CHILD_CHANGE_PROP
public static final java.lang.String CHILD_CHANGE_PROP
- Used to report property change of a child object. New value is
the PropertyChangeEvent as reported by the child. Cannot be used
with getProperty() or setProperty(). (That would be
meaningless.)
- See Also:
- Constant Field Values
Method Detail |
getChild
public GestureObject getChild(int i)
- Returns the child object at index i.
remove
public void remove(GestureObject gestureObj)
- Remove a child from this container. (Or do nothing if
gestureObj is not a child of this.
iterator
public java.util.Iterator iterator()
getEnabledChildren
public java.util.List getEnabledChildren()
size
public int size()
add
public void add(GestureObject obj)
getChildTypes
public java.lang.Class[] getChildTypes()
- Returns an array of all the valid types for children of this
container.
isChildType
public boolean isChildType(java.lang.Class type)
setPropertyOnTree
public void setPropertyOnTree(java.lang.String propName, java.lang.Object value)
- Set the property on the entire subtree
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
addCollectionListener
public void addCollectionListener(edu.berkeley.guir.quill.util.CollectionListener l)
removeCollectionListener
public void removeCollectionListener(edu.berkeley.guir.quill.util.CollectionListener l)
|
|||||||||
Home >> All >> edu >> berkeley >> guir >> quill >> [ gesturelib overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |