Enum Class TextDisplayMode

java.lang.Object
java.lang.Enum<TextDisplayMode>
de.espirit.firstspirit.access.store.templatestore.gom.TextDisplayMode
All Implemented Interfaces:
Serializable, Comparable<TextDisplayMode>, Constable

public enum TextDisplayMode extends Enum<TextDisplayMode>
Display mode for text fields
Since:
2.0
  • Enum Constant Details

    • PLAIN

      public static final TextDisplayMode PLAIN
      Visible, plaintext stored text
      Since:
      2.0
    • HASH

      public static final TextDisplayMode HASH
      Hidden, hashcode stored text
      Since:
      2.0
    • HIDDEN

      public static final TextDisplayMode HIDDEN
      Hidden, plaintext stored text
      Since:
      3.1
  • Method Details

    • values

      public static TextDisplayMode[] 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 TextDisplayMode 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
    • isHiding

      public boolean isHiding()
      Indicates if the text is hidden
      Returns:
      true if the text is hidden, false otherwise
      Since:
      5.0