de.sciss.app
Interface DynamicListening

All Known Implementing Classes:
BasicPathField, DynamicPrefChangeManager, HelpButton, IndeterminateSpinner, KeyStrokeTextField, PrefCheckBox, PrefComboBox, PrefNumberField, PrefParamField, PrefPathField, PrefRecentItemsCombo, PrefTextField

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.

Version:
0.13, 15-Sep-05
Author:
Hanns Holger Rutz
See Also:
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

startListening

void startListening()
will be called when the component becomes visible


stopListening

void stopListening()
will be called when the component is hidden