|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CombinedTab
A tab of a CombinedStackDockComponent
. Every tab represents one
Component which can be selected.
Method Summary | |
---|---|
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. |
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
---|
addMouseInputListener, getElement, getPopupLocation, isUsedAsTitle, removeMouseInputListener, shouldFocus, shouldTransfersFocus |
Methods inherited from interface bibliothek.gui.dock.station.stack.tab.Tab |
---|
getDockable, getMinimumSize, getPreferredSize |
Methods inherited from interface bibliothek.gui.dock.station.stack.tab.TabPaneComponent |
---|
getBounds, getMaximumSize, getMinimumSize, getOverlap, getPreferredSize, getTabParent, getZOrder, isPaneVisible, setBounds, setOrientation, setPaneVisible, setZOrder |
Method Detail |
---|
Component getComponent()
getComponent
in interface DockElementRepresentative
null
void setText(String text)
text
- the text to displayvoid setIcon(Icon icon)
icon
- an icon that should be shown, can be null
void setTooltip(String tooltip)
tooltip
- the tooltip text, can be null
void setEnabled(boolean enabled)
enabled
- whether to enable or disable this tabvoid setConfiguration(TabConfiguration configuration)
configuration
- the new configuration to useCombinedStackDockComponent.getConfiguration(bibliothek.gui.Dockable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |