java.lang.Object
java.lang.Enum<FormType>
de.agilecoders.wicket.core.markup.html.bootstrap.form.FormType
All Implemented Interfaces:
ICssClassNameModifier, ICssClassNameProvider, Serializable, Comparable<FormType>, Constable, IClusterable

public enum FormType extends Enum<FormType> implements ICssClassNameProvider, ICssClassNameModifier
Defines all possible form types
  • Enum Constant Details

    • Default

      public static final FormType Default
    • Inline

      public static final FormType Inline
  • Method Details

    • values

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

      public static FormType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • cssClassName

      public String cssClassName()
      Specified by:
      cssClassName in interface ICssClassNameProvider
      Returns:
      a css class name
    • newCssClassNameModifier

      public CssClassNameAppender newCssClassNameModifier()
      Specified by:
      newCssClassNameModifier in interface ICssClassNameModifier
      Returns:
      a AttributeModifier which contains the css class name