bibliothek.gui.dock.event
Interface DockControllerRepresentativeListener

All Known Implementing Classes:
PopupController

public interface DockControllerRepresentativeListener

A listener added to DockController, gets informed about changes in the set of DockElementRepresentatives.

Author:
Benjamin Sigg

Method Summary
 void representativeAdded(DockController controller, DockElementRepresentative representative)
          Informs this listener that representative was added to controller.
 void representativeRemoved(DockController controller, DockElementRepresentative representative)
          Informs this listener that representative was removed from controller.
 

Method Detail

representativeAdded

void representativeAdded(DockController controller,
                         DockElementRepresentative representative)
Informs this listener that representative was added to controller.

Parameters:
controller - the source of the event
representative - the element that was added

representativeRemoved

void representativeRemoved(DockController controller,
                           DockElementRepresentative representative)
Informs this listener that representative was removed from controller.

Parameters:
controller - the source of the event
representative - the element that was removed