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

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

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

Tells at which moment the icon on a tab is made invisible


Enum Constant Summary
NEVER
          The icon is never made invisible
NO_SPACE_LEFT
          If there is not enough space to paint the full icon, then it is not painted at all
TEXT_DISAPPEARING
          If there is not enough space to paint text and icon at the same time, then the icon is not painted at all
 
Method Summary
static TabConfiguration.IconHiding valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TabConfiguration.IconHiding[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEVER

public static final TabConfiguration.IconHiding NEVER
The icon is never made invisible


NO_SPACE_LEFT

public static final TabConfiguration.IconHiding NO_SPACE_LEFT
If there is not enough space to paint the full icon, then it is not painted at all


TEXT_DISAPPEARING

public static final TabConfiguration.IconHiding TEXT_DISAPPEARING
If there is not enough space to paint text and icon at the same time, then the icon is not painted at all

Method Detail

values

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

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

valueOf

public static TabConfiguration.IconHiding 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