|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.stack.CombinedStackDockComponent<FlatTab.FlatButton>
bibliothek.extension.gui.dock.theme.flat.FlatTab
public class FlatTab
A panel that works like a JTabbedPane
, but the buttons to
change between the children are smaller and "flatter" than the
buttons of the JTabbedPane
.
Nested Class Summary | |
---|---|
protected class |
FlatTab.FlatButton
A small button which can be clicked by the user. |
Constructor Summary | |
---|---|
FlatTab()
|
Method Summary | |
---|---|
protected FlatTab.FlatButton |
createTab(Dockable dockable)
Creates a new tab which will be shown on this component. |
protected void |
destroy(FlatTab.FlatButton tab)
Deletes a tab that was earlier created by #createTab() . |
void |
setController(DockController controller)
Sets the controller for which this component manages its children. |
Methods inherited from class bibliothek.gui.dock.station.stack.CombinedStackDockComponent |
---|
addChangeListener, addTab, fireStateChange, getBoundsAt, getComponent, getController, getSelectedIndex, getTab, getTabCount, insertTab, remove, removeAll, removeChangeListener, setIconAt, setSelectedIndex, setTitleAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatTab()
Method Detail |
---|
protected FlatTab.FlatButton createTab(Dockable dockable)
CombinedStackDockComponent
createTab
in class CombinedStackDockComponent<FlatTab.FlatButton>
dockable
- the Dockable for which the tab will be used
protected void destroy(FlatTab.FlatButton tab)
CombinedStackDockComponent
#createTab()
.
destroy
in class CombinedStackDockComponent<FlatTab.FlatButton>
tab
- the tab which is no longer neededpublic void setController(DockController controller)
StackDockComponent
setController
in interface StackDockComponent
setController
in class CombinedStackDockComponent<FlatTab.FlatButton>
controller
- the controller or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |