bibliothek.gui.dock.event
Interface ComponentHierarchyObserverListener


public interface ComponentHierarchyObserverListener

A listener of a ComponentHierarchyObserver, this listener gets informed whenever some Components enter or leave the realm of a DockController.

Author:
Benjamin Sigg

Method Summary
 void added(DockController controller, List<Component> components)
          Called when some Components have entered the realm of controller.
 void removed(DockController controller, List<Component> components)
          Called when some Components have left the realm of controller.
 

Method Detail

added

void added(DockController controller,
           List<Component> components)
Called when some Components have entered the realm of controller.

Parameters:
controller - the source of the event
components - an unmodifiable set of new Components.

removed

void removed(DockController controller,
             List<Component> components)
Called when some Components have left the realm of controller.

Parameters:
controller - the source of the event
components - an unmodifiable set of Components