|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for gesture objects. Note that clone() does a deep copy. It emits propertyChangeEvents when any property changes (including author).
Field Summary | |
static String |
AUTHOR_PROP
|
static String |
ENABLED_PROP
Whether the GestureObject is enabled or not. |
static String |
PARENT_PROP
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Listen for all propertyChangeEvents |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Listen for propertyChangeEvents for a particular property |
Object |
clone()
A deep copy. |
String |
getAuthor()
|
GestureContainer |
getParent()
|
Object |
getProperty(String name)
Get the value of the named property (or null if it is not set). |
boolean |
hasProperty(String name)
Returns whether the object has the current property set |
boolean |
isEnabled()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Stop listening for all propertyChangeEvents |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Stop listening for propertyChangeEvents for a particular property |
void |
setAuthor(String author)
emits property change for property AUTHOR_PROP |
void |
setEnabled(boolean on)
emits property change for property ENABLED_PROP |
void |
setParent(GestureContainer parent)
emits property change for property PARENT_PROP |
void |
setProperty(String name,
Object value)
Set the named property to a value. |
void |
unsetProperty(String name)
Unset the property. |
Field Detail |
public static final String PARENT_PROP
public static final String ENABLED_PROP
public static final String AUTHOR_PROP
Method Detail |
public void setAuthor(String author)
public String getAuthor()
public void setEnabled(boolean on)
public boolean isEnabled()
public void setParent(GestureContainer parent)
public GestureContainer getParent()
public boolean hasProperty(String name)
public void setProperty(String name, Object value)
public Object getProperty(String name)
public void unsetProperty(String name)
public Object clone()
clone
in class Object
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |