Enum FormLayoutElement
- java.lang.Object
-
- java.lang.Enum<FormLayoutElement>
-
- pl.edu.icm.unity.types.registration.layout.FormLayoutElement
-
- All Implemented Interfaces:
Serializable
,Comparable<FormLayoutElement>
public enum FormLayoutElement extends Enum<FormLayoutElement>
Types of form layout elements.- Author:
- Roman Krysinski ([email protected])
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGREEMENT
ATTRIBUTE
CAPTCHA
CAPTION
COMMENTS
CREDENTIAL
GROUP
IDENTITY
LOCAL_SIGNUP
POLICY_AGREEMENT
REG_CODE
REMOTE_SIGNUP
REMOTE_SIGNUP_GRID
SEPARATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRegistrationOnly()
void
setRegistrationOnly(boolean isRegistrationOnly)
static FormLayoutElement
valueOf(String name)
Returns the enum constant of this type with the specified name.static FormLayoutElement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_SIGNUP
public static final FormLayoutElement LOCAL_SIGNUP
-
REMOTE_SIGNUP
public static final FormLayoutElement REMOTE_SIGNUP
-
REMOTE_SIGNUP_GRID
public static final FormLayoutElement REMOTE_SIGNUP_GRID
-
CAPTCHA
public static final FormLayoutElement CAPTCHA
-
REG_CODE
public static final FormLayoutElement REG_CODE
-
IDENTITY
public static final FormLayoutElement IDENTITY
-
ATTRIBUTE
public static final FormLayoutElement ATTRIBUTE
-
GROUP
public static final FormLayoutElement GROUP
-
CREDENTIAL
public static final FormLayoutElement CREDENTIAL
-
AGREEMENT
public static final FormLayoutElement AGREEMENT
-
POLICY_AGREEMENT
public static final FormLayoutElement POLICY_AGREEMENT
-
COMMENTS
public static final FormLayoutElement COMMENTS
-
CAPTION
public static final FormLayoutElement CAPTION
-
SEPARATOR
public static final FormLayoutElement SEPARATOR
-
-
Method Detail
-
values
public static FormLayoutElement[] 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 (FormLayoutElement c : FormLayoutElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormLayoutElement 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 nameNullPointerException
- if the argument is null
-
isRegistrationOnly
public boolean isRegistrationOnly()
-
setRegistrationOnly
public void setRegistrationOnly(boolean isRegistrationOnly)
-
-