bibliothek.gui.dock.common.intern
Enum CDockable.ExtendedMode

java.lang.Object
  extended by java.lang.Enum<CDockable.ExtendedMode>
      extended by bibliothek.gui.dock.common.intern.CDockable.ExtendedMode
All Implemented Interfaces:
Serializable, Comparable<CDockable.ExtendedMode>
Enclosing interface:
CDockable

public static enum CDockable.ExtendedMode
extends Enum<CDockable.ExtendedMode>

The mode tells how big a CDockable is.

Author:
Benjamin Sigg

Enum Constant Summary
EXTERNALIZED
          the dockable is floating in a dialog
MAXIMIZED
          the dockable is as big as possible
MINIMIZED
          the dockable is as small as possible
NORMALIZED
          the dockable has the normal size
 
Method Summary
static CDockable.ExtendedMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CDockable.ExtendedMode[] 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

MINIMIZED

public static final CDockable.ExtendedMode MINIMIZED
the dockable is as small as possible


MAXIMIZED

public static final CDockable.ExtendedMode MAXIMIZED
the dockable is as big as possible


NORMALIZED

public static final CDockable.ExtendedMode NORMALIZED
the dockable has the normal size


EXTERNALIZED

public static final CDockable.ExtendedMode EXTERNALIZED
the dockable is floating in a dialog

Method Detail

values

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

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

valueOf

public static CDockable.ExtendedMode 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