|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.TabConfiguration
public class TabConfiguration
A set of configurations for defining the look of tabs. New configurations are
created by the TabConfigurations
factory.
Nested Class Summary | |
---|---|
static class |
TabConfiguration.ActionHiding
Tells at which moment actions on a tab should be made invisible |
static class |
TabConfiguration.IconHiding
Tells at which moment the icon on a tab is made invisible |
Constructor Summary | |
---|---|
TabConfiguration()
|
Method Summary | |
---|---|
TabConfiguration.ActionHiding |
getActionHiding()
Gets if and when buttons on the tab are made invisible. |
TabConfiguration.IconHiding |
getIconHiding()
Gets if and when the icon is made invisible. |
boolean |
isHiddenActionUsingSpace()
Tells whether hidden actions still use up some space. |
boolean |
isKeepLabelBig()
Tells whether the label should be kept big enough to show the icon even if the tab itself demands a size that is smaller. |
void |
setActionHiding(TabConfiguration.ActionHiding actionHiding)
Tells if and when to make buttons on the tab invisible. |
void |
setHiddenActionUsingSpace(boolean hiddenActionUsingSpace)
Tells whether hidden actions still can influence the layout by using up some space. |
void |
setIconHiding(TabConfiguration.IconHiding iconHiding)
Tells if and when to make the icon invisible. |
void |
setKeepLabelBig(boolean keepLabelBig)
Sets whether the label should be kept big enough to show the icon even if the tab itself demands a size that is smaller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabConfiguration()
Method Detail |
---|
public void setActionHiding(TabConfiguration.ActionHiding actionHiding)
actionHiding
- hiding strategy, not null
public TabConfiguration.ActionHiding getActionHiding()
null
public void setIconHiding(TabConfiguration.IconHiding iconHiding)
iconHiding
- hiding strategy, not null
public TabConfiguration.IconHiding getIconHiding()
null
public void setKeepLabelBig(boolean keepLabelBig)
true
.
keepLabelBig
- whether to keep the label bigpublic boolean isKeepLabelBig()
setKeepLabelBig(boolean)
public void setHiddenActionUsingSpace(boolean hiddenActionUsingSpace)
true
hidden
actions are assumed to require 0
pixels but still have a border, otherwise the actions are
treated as if they would not exist. The default value of this property is true
.
hiddenActionUsingSpace
- whether hidden actions have an influence on the layout or notpublic boolean isHiddenActionUsingSpace()
setHiddenActionUsingSpace(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |