public interface CombinedTab extends DockElementRepresentative, Tab
CombinedStackDockComponent. Every tab represents one
Component which can be selected.| Modifier and Type | Method and Description |
|---|---|
Component |
getComponent()
Gets the component which paints and represents this tab.
|
void |
setConfiguration(TabConfiguration configuration)
Fine tunes this tab.
|
void |
setEnabled(boolean enabled)
Enables or disables this tab.
|
void |
setIcon(Icon icon)
Sets the image of this tab.
|
void |
setText(String text)
Sets the text of this tab.
|
void |
setTooltip(String tooltip)
Sets the tooltip of this tab.
|
addMouseInputListener, getElement, getPopupLocation, isUsedAsTitle, removeMouseInputListener, shouldFocus, shouldTransfersFocusgetDockable, getMinimumSize, getPreferredSizegetBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, getZOrder, isPaneVisible, setBounds, setOrientation, setPaneVisible, setZOrderComponent getComponent()
getComponent in interface DockElementRepresentativenullvoid setText(String text)
text - the text to displayvoid setIcon(Icon icon)
icon - an icon that should be shown, can be nullvoid setTooltip(String tooltip)
tooltip - the tooltip text, can be nullvoid setEnabled(boolean enabled)
enabled - whether to enable or disable this tabvoid setConfiguration(TabConfiguration configuration)
configuration - the new configuration to useCombinedStackDockComponent.getConfiguration(bibliothek.gui.Dockable)Copyright © 2017 Docking Frames. All rights reserved.