protected class CombinedStackDockComponent.Meta extends Object
Dockable that is shown on this
CombinedStackDockComponent.| Constructor and Description |
|---|
Meta(Dockable dockable,
Component component,
String text,
Icon icon,
String tooltip,
boolean enabled)
Creates new meta information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forward()
|
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.
|
public 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@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()
Copyright © 2017 Docking Frames. All rights reserved.