Class TextFormConfiguration

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getText()
      String getRichText()
      int getMaxLength() Maximum length of text allowed in the text field.
      boolean isMultiLine() Returns whether text is allowed to have multiple lines or not.
      boolean isPassword() Returns whether text is intended for entering a secure password that should not be visible on the screen.
      boolean isSpellCheckEnabled() Returns whether text entered in the field shall be spell-checked.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getMaxLength

        @IntRange(from = 0) int getMaxLength()

        Maximum length of text allowed in the text field.

        Returns:

        Maximum length of text allowed or 0 if length is unlimited.

      • isMultiLine

         boolean isMultiLine()

        Returns whether text is allowed to have multiple lines or not.

        Returns:

        true when text is allowed to span multiple lines.

      • isPassword

         boolean isPassword()

        Returns whether text is intended for entering a secure password that should not be visible on the screen.

        Returns:

        true when text should be not echoed on screen.

      • isSpellCheckEnabled

         boolean isSpellCheckEnabled()

        Returns whether text entered in the field shall be spell-checked.

        Returns:

        true when text content can be spell checked.