bibliothek.gui.dock.themes.basic
Interface BasicDockableDisplayerDecorator

All Known Implementing Classes:
MinimalDecorator, TabDecorator

public interface BasicDockableDisplayerDecorator

A decorator may add a Component between a BasicDockableDisplayer and a Dockable.

Author:
Benjamin Sigg

Method Summary
 Component getComponent()
          Gets the Component which represents this decorator, the result of this method may change whenever setController(DockController) or setDockable(Component, Dockable) is called.
 void setController(DockController controller)
          Sets the controller in whose realm this decorator works
 void setDockable(Component component, Dockable dockable)
          Sets the element to show on this decorator, can be null
 

Method Detail

setDockable

void setDockable(Component component,
                 Dockable dockable)
Sets the element to show on this decorator, can be null

Parameters:
component - the component which represents dockable
dockable - the element to show

setController

void setController(DockController controller)
Sets the controller in whose realm this decorator works

Parameters:
controller - the controller

getComponent

Component getComponent()
Gets the Component which represents this decorator, the result of this method may change whenever setController(DockController) or setDockable(Component, Dockable) is called.

Returns:
the component or null to show nothing