org.openxava.web.layout
Enum LayoutElementType

java.lang.Object
  extended by java.lang.Enum<LayoutElementType>
      extended by org.openxava.web.layout.LayoutElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LayoutElementType>

public enum LayoutElementType
extends java.lang.Enum<LayoutElementType>

Defines the element types used in layouts.

Author:
Federico Alcantara

Enum Constant Summary
CELL_END
           
CELL_START
           
COLLECTION_END
           
COLLECTION_START
           
COLUMN_END
           
COLUMN_START
           
FRAME_END
           
FRAME_START
           
GROUP_END
           
GROUP_START
           
ROW_END
           
ROW_START
           
SECTIONS_END
           
SECTIONS_START
           
VIEW_END
           
VIEW_START
           
 
Method Summary
static LayoutElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LayoutElementType[] 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

VIEW_START

public static final LayoutElementType VIEW_START

VIEW_END

public static final LayoutElementType VIEW_END

ROW_START

public static final LayoutElementType ROW_START

ROW_END

public static final LayoutElementType ROW_END

GROUP_START

public static final LayoutElementType GROUP_START

GROUP_END

public static final LayoutElementType GROUP_END

FRAME_START

public static final LayoutElementType FRAME_START

FRAME_END

public static final LayoutElementType FRAME_END

COLLECTION_START

public static final LayoutElementType COLLECTION_START

COLLECTION_END

public static final LayoutElementType COLLECTION_END

SECTIONS_START

public static final LayoutElementType SECTIONS_START

SECTIONS_END

public static final LayoutElementType SECTIONS_END

COLUMN_START

public static final LayoutElementType COLUMN_START

COLUMN_END

public static final LayoutElementType COLUMN_END

CELL_START

public static final LayoutElementType CELL_START

CELL_END

public static final LayoutElementType CELL_END
Method Detail

values

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

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

valueOf

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