protected class CombinedStackDockComponent.Meta
extends java.lang.Object
Dockable
that is shown on this
CombinedStackDockComponent
.Constructor and Description |
---|
Meta(Dockable dockable,
java.awt.Component component,
java.lang.String text,
javax.swing.Icon icon,
java.lang.String tooltip,
boolean enabled)
Creates new meta information.
|
Modifier and Type | Method and Description |
---|---|
void |
forward()
|
java.awt.Component |
getComponent()
Gets the component that is shown.
|
Dockable |
getDockable()
Gets the element which is represented by this object
|
void |
setBorder(javax.swing.border.Border border)
Sets the border of the component.
|
void |
setController(DockController controller)
Sets the controller which is used to read values.
|
public Meta(Dockable dockable, java.awt.Component component, java.lang.String text, javax.swing.Icon icon, java.lang.String tooltip, boolean enabled)
dockable
- the element for which the meta information is requiredcomponent
- graphical representation of dockable
text
- 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@FrameworkOnly public void setController(DockController controller)
controller
- the new controllerpublic Dockable getDockable()
public java.awt.Component getComponent()
public void setBorder(javax.swing.border.Border border)
CombinedStackDockComponent.createContentBorderModifier(Dockable, JComponent)
returns
a non-null
value.border
- the new border, can be null
public void forward()