bibliothek.gui.dock.toolbar.expand
Enum SimpleExpandAction.Action

java.lang.Object
  extended by java.lang.Enum<SimpleExpandAction.Action>
      extended by bibliothek.gui.dock.toolbar.expand.SimpleExpandAction.Action
All Implemented Interfaces:
Serializable, Comparable<SimpleExpandAction.Action>
Enclosing class:
SimpleExpandAction

public static enum SimpleExpandAction.Action
extends Enum<SimpleExpandAction.Action>

describes to which state this action leads


Enum Constant Summary
LARGER
          just make an item larger
LARGEST
          fully expand an item
SMALLER
          just make an item smaller
SMALLEST
          fully shrink an item
 
Method Summary
static SimpleExpandAction.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SimpleExpandAction.Action[] 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

LARGEST

public static final SimpleExpandAction.Action LARGEST
fully expand an item


LARGER

public static final SimpleExpandAction.Action LARGER
just make an item larger


SMALLER

public static final SimpleExpandAction.Action SMALLER
just make an item smaller


SMALLEST

public static final SimpleExpandAction.Action SMALLEST
fully shrink an item

Method Detail

values

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

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

valueOf

public static SimpleExpandAction.Action 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