bibliothek.gui.dock.station.stack.tab
Enum DefaultTabContentFilter.Behavior

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

public static enum DefaultTabContentFilter.Behavior
extends Enum<DefaultTabContentFilter.Behavior>

Tells a DefaultTabContentFilter how it behaves.


Enum Constant Summary
ALL
          paint icon and text
ICON_ONLY
          paint only the icon
ICON_OVER_TEXT
          paint icon, or if missing paint text
TEXT_ONLY
          paint only the text
TEXT_OVER_ICON
          paint text, or if missing paint icon
 
Method Summary
static DefaultTabContentFilter.Behavior valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DefaultTabContentFilter.Behavior[] 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

ALL

public static final DefaultTabContentFilter.Behavior ALL
paint icon and text


ICON_ONLY

public static final DefaultTabContentFilter.Behavior ICON_ONLY
paint only the icon


TEXT_ONLY

public static final DefaultTabContentFilter.Behavior TEXT_ONLY
paint only the text


ICON_OVER_TEXT

public static final DefaultTabContentFilter.Behavior ICON_OVER_TEXT
paint icon, or if missing paint text


TEXT_OVER_ICON

public static final DefaultTabContentFilter.Behavior TEXT_OVER_ICON
paint text, or if missing paint icon

Method Detail

values

public static DefaultTabContentFilter.Behavior[] 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 (DefaultTabContentFilter.Behavior c : DefaultTabContentFilter.Behavior.values())
    System.out.println(c);

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

valueOf

public static DefaultTabContentFilter.Behavior 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