net.sf.cssbean
Enum Display

java.lang.Object
  extended by java.lang.Enum<Display>
      extended by net.sf.cssbean.Display
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Display>, Value

public enum Display
extends java.lang.Enum<Display>
implements Value

Author:
Mike Heath

Enum Constant Summary
BLOCK
           
COMPACT
           
INLINE
           
INLINE_TABLE
           
LIST_ITEM
           
MARKER
           
NONE
           
RUN_IN
           
TABLE
           
TABLE_CAPTION
           
TABLE_CELL
           
TABLE_COLUMN
           
TABLE_COLUMN_GROUP
           
TABLE_FOOTER_GROUP
           
TABLE_HEADER_GROUP
           
TABLE_ROW
           
TABLE_ROW_GROUP
           
 
Method Summary
 java.lang.String getValue()
           
static Display valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Display[] 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

NONE

public static final Display NONE

INLINE

public static final Display INLINE

BLOCK

public static final Display BLOCK

LIST_ITEM

public static final Display LIST_ITEM

RUN_IN

public static final Display RUN_IN

COMPACT

public static final Display COMPACT

MARKER

public static final Display MARKER

TABLE

public static final Display TABLE

INLINE_TABLE

public static final Display INLINE_TABLE

TABLE_ROW_GROUP

public static final Display TABLE_ROW_GROUP

TABLE_HEADER_GROUP

public static final Display TABLE_HEADER_GROUP

TABLE_FOOTER_GROUP

public static final Display TABLE_FOOTER_GROUP

TABLE_ROW

public static final Display TABLE_ROW

TABLE_COLUMN_GROUP

public static final Display TABLE_COLUMN_GROUP

TABLE_COLUMN

public static final Display TABLE_COLUMN

TABLE_CELL

public static final Display TABLE_CELL

TABLE_CAPTION

public static final Display TABLE_CAPTION
Method Detail

values

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

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

valueOf

public static Display 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

getValue

public java.lang.String getValue()
Specified by:
getValue in interface Value


Copyright © 2005 Mike Heath. All Rights Reserved.