bibliothek.gui.dock.common
Enum CContentArea.Corner

java.lang.Object
  extended by java.lang.Enum<CContentArea.Corner>
      extended by bibliothek.gui.dock.common.CContentArea.Corner
All Implemented Interfaces:
Serializable, Comparable<CContentArea.Corner>
Enclosing class:
CContentArea

public static enum CContentArea.Corner
extends Enum<CContentArea.Corner>

References a corner of a panel.

Author:
Benjamin Sigg

Enum Constant Summary
NORTH_EAST
          the higher right corner
NORTH_WEST
          the higher left corner
SOUTH_EAST
          the lower right corner
SOUTH_WEST
          the lower left corner
 
Method Summary
static CContentArea.Corner valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CContentArea.Corner[] 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

SOUTH_EAST

public static final CContentArea.Corner SOUTH_EAST
the lower right corner


SOUTH_WEST

public static final CContentArea.Corner SOUTH_WEST
the lower left corner


NORTH_EAST

public static final CContentArea.Corner NORTH_EAST
the higher right corner


NORTH_WEST

public static final CContentArea.Corner NORTH_WEST
the higher left corner

Method Detail

values

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

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

valueOf

public static CContentArea.Corner 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