bibliothek.extension.gui.dock.theme.eclipse.stack.tab
Class DefaultInvisibleTab
java.lang.Object
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 java.lang.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
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 |
colorStackTabBorder
protected final TabColor colorStackTabBorder
colorStackTabBorderSelected
protected final TabColor colorStackTabBorderSelected
colorStackTabBorderSelectedFocused
protected final TabColor colorStackTabBorderSelectedFocused
colorStackTabBorderSelectedFocusLost
protected final TabColor colorStackTabBorderSelectedFocusLost
DefaultInvisibleTab
public DefaultInvisibleTab(InvisibleTabPane pane,
Dockable dockable)
- Creates a new tab.
- Parameters:
pane
- the ownerdockable
- the element this tab represents
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