|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
Specifies an object that can be listened to for changes to its definition.
The specific types of change events that are valid for the object are specified by the object's class or interface ... usually starting with the letters EVENT_
| Method Summary | |
void |
addListener(PropertyChangeListener listener)
Adds a listener that wishes to be notified when this object changes. |
List |
getListeners()
Returns a list of PropertyChangeListener objects that are listening for changes to this object. |
void |
removeListener(PropertyChangeListener listener)
Remove a listener that no longer wishes to be notified when this object changes. |
| Method Detail |
public void addListener(PropertyChangeListener listener)
If the given listener is already listening on this object, no action is taken.
listener - the listener who has interest in change events for this objectpublic void removeListener(PropertyChangeListener listener)
If the given listener is not listening on this object, no action is taken.
listener - the listener who has no interest in change events for this objectpublic List getListeners()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||