bibliothek.extension.gui.dock.theme.eclipse.stack.tab
Class DefaultInvisibleTab

java.lang.Object
  extended by bibliothek.extension.gui.dock.theme.eclipse.stack.tab.DefaultInvisibleTab
All Implemented Interfaces:
InvisibleTab

@ColorCodes(value={"stack.tab.border","stack.tab.border.selected","stack.tab.border.selected.focused","stack.tab.border.selected.focuslost"})
public class DefaultInvisibleTab
extends Object
implements InvisibleTab

Default implementation of an InvisibleTab, this implementation tells an InvisibleTabPane to use different borders for their children depending on whether they are focused and selected.

Author:
Benjamin Sigg

Field Summary
protected  TabColor colorStackTabBorder
           
protected  TabColor colorStackTabBorderSelected
           
protected  TabColor colorStackTabBorderSelectedFocused
           
protected  TabColor colorStackTabBorderSelectedFocusLost
           
 
Constructor Summary
DefaultInvisibleTab(InvisibleTabPane pane, Dockable dockable)
          Creates a new tab.
 
Method Summary
 void setController(DockController controller)
          Sets the controller in whose realm this tab works, if there is no controller set then this tab must be in a state ready to be collected by the garbage collector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colorStackTabBorder

protected final TabColor colorStackTabBorder

colorStackTabBorderSelected

protected final TabColor colorStackTabBorderSelected

colorStackTabBorderSelectedFocused

protected final TabColor colorStackTabBorderSelectedFocused

colorStackTabBorderSelectedFocusLost

protected final TabColor colorStackTabBorderSelectedFocusLost
Constructor Detail

DefaultInvisibleTab

public DefaultInvisibleTab(InvisibleTabPane pane,
                           Dockable dockable)
Creates a new tab.

Parameters:
pane - the owner
dockable - the element this tab represents
Method Detail

setController

public void setController(DockController controller)
Description copied from interface: InvisibleTab
Sets the controller in whose realm this tab works, if there is no controller set then this tab must be in a state ready to be collected by the garbage collector.

Specified by:
setController in interface InvisibleTab
Parameters:
controller - the realm