|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.basic.TabDecorator
public class TabDecorator
Shows a StackDockComponent as decoration.
| Constructor Summary | |
|---|---|
TabDecorator(DockStation station)
Creates a new decorator |
|
| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
Gets the Component which represents this decorator,
the result of this method may change whenever BasicDockableDisplayerDecorator.setController(DockController)
or BasicDockableDisplayerDecorator.setDockable(Component, Dockable) is called. |
StackDockComponent |
getStackComponent()
Gets the component which is used by this TabDecorator. |
DockStation |
getStackDockParent()
Gets the station this parent represents. |
int |
indexOf(Dockable dockable)
Gets the index of dockable in the list of dockables
that are present on this parent. |
void |
setController(DockController controller)
Sets the controller in whose realm this decorator works |
void |
setDockable(java.awt.Component panel,
Dockable dockable)
Sets the element to show on this decorator, can be null |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabDecorator(DockStation station)
station - the station for which this decorator is used| Method Detail |
|---|
public DockStation getStackDockParent()
StackDockComponentParent
getStackDockParent in interface StackDockComponentParentpublic int indexOf(Dockable dockable)
StackDockComponentParentdockable in the list of dockables
that are present on this parent.
indexOf in interface StackDockComponentParentdockable - some dockable
public StackDockComponent getStackComponent()
TabDecorator.
StackDockComponent, may be null
public void setDockable(java.awt.Component panel,
Dockable dockable)
BasicDockableDisplayerDecoratornull
setDockable in interface BasicDockableDisplayerDecoratorpanel - the component which represents dockabledockable - the element to showpublic void setController(DockController controller)
BasicDockableDisplayerDecorator
setController in interface BasicDockableDisplayerDecoratorcontroller - the controllerpublic java.awt.Component getComponent()
BasicDockableDisplayerDecoratorComponent which represents this decorator,
the result of this method may change whenever BasicDockableDisplayerDecorator.setController(DockController)
or BasicDockableDisplayerDecorator.setDockable(Component, Dockable) is called.
getComponent in interface BasicDockableDisplayerDecoratornull to show nothing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||