|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Listenable
Interface that denotes that the implementation can have listeners attached to it.
| Method Summary | |
|---|---|
void |
addListener(Object listener)
Adds a listener to the component. |
Set<Object> |
getListeners()
|
void |
removeListener(Object listener)
Removes a listener from the component. |
| Method Detail |
|---|
void addListener(Object listener)
Listener and
further to that, contain methods annotated appropriately, otherwise the listener will not be registered.
See the Listener annotation for more information.
listener - must not be null.void removeListener(Object listener)
listener - listener to remove. Must not be null.Set<Object> getListeners()
|
Google Analytics | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||