org.apache.myfaces.orchestra.dynaForm.metadata
Enum FieldRepresentation
java.lang.Object
java.lang.Enum<FieldRepresentation>
org.apache.myfaces.orchestra.dynaForm.metadata.FieldRepresentation
- All Implemented Interfaces:
- Serializable, Comparable<FieldRepresentation>
public enum FieldRepresentation
- extends Enum<FieldRepresentation>
Lists all the possible ways to present a field to the end user.
See class org.apache.myfaces.orchestra.dynaForm.annot.ui.UIComponent.
Automatic
public static final FieldRepresentation Automatic
OutputText
public static final FieldRepresentation OutputText
InputText
public static final FieldRepresentation InputText
InputDate
public static final FieldRepresentation InputDate
InputNumber
public static final FieldRepresentation InputNumber
InputBoolean
public static final FieldRepresentation InputBoolean
SelectOneMenu
public static final FieldRepresentation SelectOneMenu
values
public static FieldRepresentation[] 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 (FieldRepresentation c : FieldRepresentation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FieldRepresentation 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
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.