org.peace_tools.generic.dndTabs
Enum DnDTabbedPane.Location

java.lang.Object
  extended by java.lang.Enum<DnDTabbedPane.Location>
      extended by org.peace_tools.generic.dndTabs.DnDTabbedPane.Location
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DnDTabbedPane.Location>
Enclosing class:
DnDTabbedPane

public static enum DnDTabbedPane.Location
extends java.lang.Enum<DnDTabbedPane.Location>

Preferred docking locations for tabs. This enumeration value specifies valid docking locations for a given tab. These values are interpreted with respect to the tab (\c this) on which various methods are called. The \c CENTER enumeration specifies that a tab must be added to the DndTabbedPane itself rather than adjacent to it.


Enum Constant Summary
BOTTOM
           
CENTER
           
LEFT
           
RIGHT
           
TOP
           
 
Method Summary
static DnDTabbedPane.Location valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DnDTabbedPane.Location[] 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

TOP

public static final DnDTabbedPane.Location TOP

BOTTOM

public static final DnDTabbedPane.Location BOTTOM

LEFT

public static final DnDTabbedPane.Location LEFT

RIGHT

public static final DnDTabbedPane.Location RIGHT

CENTER

public static final DnDTabbedPane.Location CENTER
Method Detail

values

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

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

valueOf

public static DnDTabbedPane.Location valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null