bibliothek.gui.dock.event
Class ComponentHierarchyObserverEvent

java.lang.Object
  extended by bibliothek.gui.dock.event.ComponentHierarchyObserverEvent

public class ComponentHierarchyObserverEvent
extends Object

An event telling that Components have been added or removed from a ComponentHierarchyObserver.

Author:
Benjamin Sigg

Constructor Summary
ComponentHierarchyObserverEvent(DockController source, List<Component> components)
          Creates a new event
 
Method Summary
 List<Component> getComponents()
          Gets a list that contains all the components that were added or removed.
 DockController getSource()
          Gets the source of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentHierarchyObserverEvent

public ComponentHierarchyObserverEvent(DockController source,
                                       List<Component> components)
Creates a new event

Parameters:
source - the source of the event
components - the components that have been added or removed
Method Detail

getSource

public DockController getSource()
Gets the source of the event.

Returns:
the source

getComponents

public List<Component> getComponents()
Gets a list that contains all the components that were added or removed.

Returns:
the new or lost components