public static enum TabConfiguration.ActionHiding extends Enum<TabConfiguration.ActionHiding>
Enum Constant and Description |
---|
ICON_DISAPPEARING
Actions are made invisible right before the icon on the tab would disappear.
|
NEVER
They just stay
|
NO_SPACE_LEFT
Actions are made invisible when the tab itself is smaller then an action-button
|
TEXT_DISAPPEARING
Actions are made invisible right before the text on the tab would disappear
|
Modifier and Type | Method and Description |
---|---|
static TabConfiguration.ActionHiding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TabConfiguration.ActionHiding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TabConfiguration.ActionHiding NEVER
public static final TabConfiguration.ActionHiding NO_SPACE_LEFT
public static final TabConfiguration.ActionHiding ICON_DISAPPEARING
TabConfiguration.IconHiding.TEXT_DISAPPEARING
, the icon may still disappear. In such cases it
is better to use TEXT_DISAPPEARING
for the actions as well.public static final TabConfiguration.ActionHiding TEXT_DISAPPEARING
public static TabConfiguration.ActionHiding[] values()
for (TabConfiguration.ActionHiding c : TabConfiguration.ActionHiding.values()) System.out.println(c);
public static TabConfiguration.ActionHiding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null