|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for adding and removing
ReadOnlyStatusChangeEvent
listeners. If a Property
wishes to allow other objects to receive
ReadOnlyStatusChangeEvent
s generated by it, it must
implement this interface.
Note that the general Java convention is not to explicitly declare
that a class generates events, but to directly define the
addListener
and removeListener
methods.
That way the caller of these methods has no real way of finding out
if the class really will send the events, or if it just defines the
methods to be able to implement an interface.
Method Summary | |
void |
addListener(Property.ReadOnlyStatusChangeListener listener)
Registers a new read-only status change listener for this Property. |
void |
removeListener(Property.ReadOnlyStatusChangeListener listener)
Remove a previously registered read-only status change listener. |
Method Detail |
public void addListener(Property.ReadOnlyStatusChangeListener listener)
listener
- the new Listener to be registeredpublic void removeListener(Property.ReadOnlyStatusChangeListener listener)
listener
- listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |