bibliothek.gui.dock.component
Interface DockComponentConfiguration


public interface DockComponentConfiguration

This interface allows a client to modify many Components that are used by the framework.
Instances of this interface can be registered at the DockComponentManager, and they will receive an event whenever a Component is added or removed.
Please use this interface as a last resort when dealing with issues - many settings can be applied in more typesafe manners using the DockProperties or the ThemeManager.

Author:
Benjamin Sigg

Method Summary
 void configure(DockComponentConfigurationEvent event)
          Called if a new Component was discovered that needs a configuration.
 void unconfigure(DockComponentConfigurationEvent event)
          Called if a Component is about to be removed.
 

Method Detail

configure

void configure(DockComponentConfigurationEvent event)
Called if a new Component was discovered that needs a configuration.

Parameters:
event - information about the new component

unconfigure

void unconfigure(DockComponentConfigurationEvent event)
Called if a Component is about to be removed. This configuration may undo all the changes it made.

Parameters:
event - information about the component that is about to be removed