|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.CombinedStackDockComponent.Meta
protected class CombinedStackDockComponent.Meta
Meta information about a Dockable that is shown on this
CombinedStackDockComponent.
| Constructor Summary | |
|---|---|
CombinedStackDockComponent.Meta(Dockable dockable,
Component component,
String text,
Icon icon,
String tooltip,
boolean enabled)
Creates new meta information. |
|
| Method Summary | |
|---|---|
void |
forward()
Searches CombinedTab or CombinedMenu of dockable
and updates text, icon and tooltip. |
Component |
getComponent()
Gets the component that is shown. |
Dockable |
getDockable()
Gets the element which is represented by this object |
void |
setBorder(Border border)
Sets the border of the component. |
void |
setController(DockController controller)
Sets the controller which is used to read values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinedStackDockComponent.Meta(Dockable dockable,
Component component,
String text,
Icon icon,
String tooltip,
boolean enabled)
dockable - the element for which the meta information is requiredcomponent - graphical representation of dockabletext - text to be shown in the tabicon - icon to be shown in the tabtooltip - tooltip to be shown on the tabenabled - whether this tab is enabled or not| Method Detail |
|---|
@FrameworkOnly public void setController(DockController controller)
controller - the new controllerpublic Dockable getDockable()
public Component getComponent()
public void setBorder(Border border)
CombinedStackDockComponent.createContentBorderModifier(Dockable, JComponent) returns
a non-null value.
border - the new border, can be nullpublic void forward()
CombinedTab or CombinedMenu of dockable
and updates text, icon and tooltip.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||