bibliothek.gui.dock.component
Class DockComponentConfigurationEvent

java.lang.Object
  extended by bibliothek.gui.dock.component.DockComponentConfigurationEvent

public class DockComponentConfigurationEvent
extends Object

Describes a Component and its source DockComponentRoot.

Author:
Benjamin Sigg

Constructor Summary
DockComponentConfigurationEvent(DockComponentRoot root, Component component)
          Creates a new event.
 
Method Summary
 Component getComponent()
          Gets the Component that needs a configuration.
 DockComponentRoot getRoot()
          Gets the parent of the component,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockComponentConfigurationEvent

public DockComponentConfigurationEvent(DockComponentRoot root,
                                       Component component)
Creates a new event.

Parameters:
root - the parent of component
component - a Component that needs a configuration
Method Detail

getRoot

public DockComponentRoot getRoot()
Gets the parent of the component,

Returns:
the parent, not null

getComponent

public Component getComponent()
Gets the Component that needs a configuration.

Returns:
the component, not null