Enum Class Layout.LayoutType

java.lang.Object
java.lang.Enum<Layout.LayoutType>
ch.tocco.nice2.model.form.api.form2.components.Layout.LayoutType
All Implemented Interfaces:
Serializable, Comparable<Layout.LayoutType>, Constable
Enclosing interface:
Layout

public static enum Layout.LayoutType extends Enum<Layout.LayoutType>
The type of the Layout.
  • Enum Constant Details

    • VERTICAL_BOX

      public static final Layout.LayoutType VERTICAL_BOX
      Defines the layout to be a container in which all children are placed vertically.
    • HORIZONTAL_BOX

      public static final Layout.LayoutType HORIZONTAL_BOX
      Defines the layout to be a container in which all children are placed horizontally.
    • TABLE

      public static final Layout.LayoutType TABLE
      A table only is a container for child components in list forms.
  • Method Details

    • values

      public static Layout.LayoutType[] 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 Layout.LayoutType 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
    • getDefaultName

      public String getDefaultName()
    • hasDefaultNameIndex

      public boolean hasDefaultNameIndex()