bibliothek.gui.dock.themes.basic.action
Interface BasicTitleViewItem<A>

Type Parameters:
A - the type of item wrapped in this object
All Superinterfaces:
ViewItem<A>
All Known Implementing Classes:
BasicButtonHandler, BasicDropDownButtonHandler, BasicHandler, BasicMenuHandler, BasicPanelPopupHandler, BasicSelectableHandler, BasicSelectableHandler.Check, BasicSelectableHandler.Radio, BasicSeparatorHandler, BubbleSeparator, RoundButtonViewItem

public interface BasicTitleViewItem<A>
extends ViewItem<A>

A view item that will be shown between some buttons on a DockTitle.

Author:
Benjamin Sigg

Method Summary
 void setBackground(Color background)
          Called by the title that shows this item to tell this item what the background color of the title is.
 void setForeground(Color foreground)
          Called by the title that shows this item to tell this item what the foreground color of the title is.
 void setOrientation(DockTitle.Orientation orientation)
          Informs the item about the orientation of the title that uses this item.
 
Methods inherited from interface bibliothek.gui.dock.action.view.ViewItem
bind, getAction, getItem, unbind
 

Method Detail

setOrientation

void setOrientation(DockTitle.Orientation orientation)
Informs the item about the orientation of the title that uses this item.

Parameters:
orientation - the orientation

setForeground

void setForeground(Color foreground)
Called by the title that shows this item to tell this item what the foreground color of the title is.

Parameters:
foreground - the foreground color of the title

setBackground

void setBackground(Color background)
Called by the title that shows this item to tell this item what the background color of the title is.

Parameters:
background - the background color of the title