Enum Class AbstractFieldInfo.DisplayType

java.lang.Object
java.lang.Enum<AbstractFieldInfo.DisplayType>
ch.tocco.nice2.netui.api.bind.entity.AbstractFieldInfo.DisplayType
All Implemented Interfaces:
Serializable, Comparable<AbstractFieldInfo.DisplayType>, Constable
Enclosing class:
AbstractFieldInfo

public static enum AbstractFieldInfo.DisplayType extends Enum<AbstractFieldInfo.DisplayType>
How to show the gui component.
  • Enum Constant Details

    • HIDDEN

      public static final AbstractFieldInfo.DisplayType HIDDEN
      Make it invisible to the user (may show up when viewing html ...).
    • READONLY

      public static final AbstractFieldInfo.DisplayType READONLY
      The user can read the content but may not make changes to it.
    • EDITABLE

      public static final AbstractFieldInfo.DisplayType EDITABLE
      "Standard", editable if it's an editable component. If it's just a text display or so then this does not upgrade it.
  • Method Details

    • values

      public static AbstractFieldInfo.DisplayType[] 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 AbstractFieldInfo.DisplayType 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