bibliothek.gui.dock.station.toolbar.group
Interface ToolbarGroupHeader

All Known Implementing Classes:
CustomizationButton.Button

public interface ToolbarGroupHeader

Represents a single Component which can be shown at the top or left end of a ToolbarGroupDockStation.
ToolbarGroupHeaders are created by ToolbarGroupHeaderFactorys.

Author:
Benjamin Sigg

Method Summary
 void destroy()
          Called if this header is no longer required
 Component getComponent()
          The actual component represented by this object.
 void setOrientation(Orientation orientation)
          Called before the component is shown, and every time when the orientation of the ToolbarGroupDockStation changes.
 

Method Detail

getComponent

Component getComponent()
The actual component represented by this object. The result of this method must never change.

Returns:
the component, must not be null and must not change

setOrientation

void setOrientation(Orientation orientation)
Called before the component is shown, and every time when the orientation of the ToolbarGroupDockStation changes.

Parameters:
orientation - the orientation of the station, which is orthogonal to how the component is shown, not null

destroy

void destroy()
Called if this header is no longer required