bibliothek.gui.dock.station.stack.tab
Enum TabConfiguration.ActionHiding

java.lang.Object
  extended by java.lang.Enum<TabConfiguration.ActionHiding>
      extended by bibliothek.gui.dock.station.stack.tab.TabConfiguration.ActionHiding
All Implemented Interfaces:
Serializable, Comparable<TabConfiguration.ActionHiding>
Enclosing class:
TabConfiguration

public static enum TabConfiguration.ActionHiding
extends Enum<TabConfiguration.ActionHiding>

Tells at which moment actions on a tab should be made invisible


Enum Constant Summary
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
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEVER

public static final TabConfiguration.ActionHiding NEVER
They just stay


NO_SPACE_LEFT

public static final TabConfiguration.ActionHiding NO_SPACE_LEFT
Actions are made invisible when the tab itself is smaller then an action-button


ICON_DISAPPEARING

public static final TabConfiguration.ActionHiding ICON_DISAPPEARING
Actions are made invisible right before the icon on the tab would disappear. Please note that if using TabConfiguration.IconHiding.TEXT_DISAPPEARING, the icon may still disappear. In such cases it is better to use TEXT_DISAPPEARING for the actions as well.


TEXT_DISAPPEARING

public static final TabConfiguration.ActionHiding TEXT_DISAPPEARING
Actions are made invisible right before the text on the tab would disappear

Method Detail

values

public static TabConfiguration.ActionHiding[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TabConfiguration.ActionHiding c : TabConfiguration.ActionHiding.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TabConfiguration.ActionHiding valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null