@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
InvisibleTab, this
implementation tells an InvisibleTabPane to use different borders
for their children depending on whether they are focused and selected.| Modifier and Type | Field and Description |
|---|---|
protected TabColor |
colorStackTabBorder |
protected TabColor |
colorStackTabBorderSelected |
protected TabColor |
colorStackTabBorderSelectedFocused |
protected TabColor |
colorStackTabBorderSelectedFocusLost |
| Constructor and Description |
|---|
DefaultInvisibleTab(InvisibleTabPane pane,
Dockable dockable)
Creates a new tab.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected final TabColor colorStackTabBorder
protected final TabColor colorStackTabBorderSelected
protected final TabColor colorStackTabBorderSelectedFocused
protected final TabColor colorStackTabBorderSelectedFocusLost
public DefaultInvisibleTab(InvisibleTabPane pane, Dockable dockable)
pane - the ownerdockable - the element this tab representspublic void setController(DockController controller)
InvisibleTabsetController in interface InvisibleTabcontroller - the realmCopyright © 2017 Docking Frames. All rights reserved.