Enum EFormFieldTyp

java.lang.Object
java.lang.Enum<EFormFieldTyp>
de.xima.fc.mdl.enums.EFormFieldTyp
All Implemented Interfaces:
Serializable, Comparable<EFormFieldTyp>

public enum EFormFieldTyp extends Enum<EFormFieldTyp>
This enum lists the different types of form elements. Each form element has got exactly one of these types.
Author:
XIMA MEDIA GmbH
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The checkbox type, ie. a INPUT form element of type checkbox that has two states, checked and not checked.
    The select type, ie. a SELECT form element with several options from which one can be selected.
    The textarea type, ie. a TEXTAREA form element for textual input that support multiple lines.
    The textfield type, ie. a INPUT form element of type text that supports only a single line of text.
    The unknown type, ie. all form elements that are not of one of the other types.
    The upload type, ie. a UPLOAD form element of type file that can be used to upload file from the file system.
    The widget type, ie. any form element supplied by a widget plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    static EFormFieldTyp[]
    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 Details

    • CHECKBOX

      public static final EFormFieldTyp CHECKBOX
      The checkbox type, ie. a INPUT form element of type checkbox that has two states, checked and not checked.
    • SELECT

      public static final EFormFieldTyp SELECT
      The select type, ie. a SELECT form element with several options from which one can be selected.
    • TEXTAREA

      public static final EFormFieldTyp TEXTAREA
      The textarea type, ie. a TEXTAREA form element for textual input that support multiple lines.
    • TEXTFIELD

      public static final EFormFieldTyp TEXTFIELD
      The textfield type, ie. a INPUT form element of type text that supports only a single line of text.
    • UPLOAD

      public static final EFormFieldTyp UPLOAD
      The upload type, ie. a UPLOAD form element of type file that can be used to upload file from the file system.
    • WIDGET

      public static final EFormFieldTyp WIDGET
      The widget type, ie. any form element supplied by a widget plugin.
    • UNKNOWN

      public static final EFormFieldTyp UNKNOWN
      The unknown type, ie. all form elements that are not of one of the other types. Includes, for example, spacer and image elements.
  • Method Details

    • values

      public static EFormFieldTyp[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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