|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicListening
This interface is used by Components that
need to register and unregister listeners
whenever they are shown or hidden in order
to improve performance and garbage collection.
ObserverPalette
is a good example
where listeners are dynamically added and removed.
Usually you don't call the interface methods
directly but let DynamicAncestorAdapter
do the work.
DynamicAncestorAdapter
Method Summary | |
---|---|
void |
startListening()
will be called when the component becomes visible |
void |
stopListening()
will be called when the component is hidden |
Method Detail |
---|
void startListening()
void stopListening()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |