ch.sahits.model.gui
Enum EFormLayout

java.lang.Object
  extended by java.lang.Enum<EFormLayout>
      extended by ch.sahits.model.gui.EFormLayout
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EFormLayout>

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

This enumeration list all the possible layouts of a form

Since:
0.9.4.
Author:
Andi Hotz

Enum Constant Summary
ONE_COLUMN
          All elements are in on column
THREE_COLUMN
          All elements are in three columns.
TWO_COLUMN
          All elements are in two column.
 
Method Summary
static EFormLayout valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EFormLayout[] 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

ONE_COLUMN

public static final EFormLayout ONE_COLUMN
All elements are in on column


TWO_COLUMN

public static final EFormLayout TWO_COLUMN
All elements are in two column. Uneven elements go into first column, even ones in the second.


THREE_COLUMN

public static final EFormLayout THREE_COLUMN
All elements are in three columns. The first goes into first column, the second in the second column and the third into the third and so forth

Method Detail

values

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

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

valueOf

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