bibliothek.gui.dock.layout
Enum DockLayoutInfo.Data

java.lang.Object
  extended by java.lang.Enum<DockLayoutInfo.Data>
      extended by bibliothek.gui.dock.layout.DockLayoutInfo.Data
All Implemented Interfaces:
Serializable, Comparable<DockLayoutInfo.Data>
Enclosing class:
DockLayoutInfo

public static enum DockLayoutInfo.Data
extends Enum<DockLayoutInfo.Data>

The kind of information a DockLayoutInfo contains.

Author:
Benjamin Sigg

Enum Constant Summary
BYTE
          information is present as byte stream
DOCK_LAYOUT
          information is present as DockLayout
NULL
          no information at all is available
XML
          information is present as XElement
 
Method Summary
static DockLayoutInfo.Data valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DockLayoutInfo.Data[] 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

NULL

public static final DockLayoutInfo.Data NULL
no information at all is available


XML

public static final DockLayoutInfo.Data XML
information is present as XElement


BYTE

public static final DockLayoutInfo.Data BYTE
information is present as byte stream


DOCK_LAYOUT

public static final DockLayoutInfo.Data DOCK_LAYOUT
information is present as DockLayout

Method Detail

values

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

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

valueOf

public static DockLayoutInfo.Data 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