Class GeneralTextField


  • public class GeneralTextField
    extends TextField

    A general text field

    • Method Detail

      • getMaxLength

        public java.lang.Integer getMaxLength()

        The maximal text length (Getter)

        When setting this property to a non-null value, the length of this field's text is truncated.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setMaxLength

        public void setMaxLength​(java.lang.Integer value)

        The maximal text length (Setter)

        When setting this property to a non-null value, the length of this field's text is truncated.
        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalStateException - if the form field has widgets
        java.lang.IllegalArgumentException - if the given value is not null and is smaller than 0
      • getMultiline

        public boolean getMultiline()

        Flags this text field as multi-line (Getter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setMultiline

        public void setMultiline​(boolean value)

        Flags this text field as multi-line (Setter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalStateException - if the form field has widgets
      • getPassword

        public boolean getPassword()

        Flags this text field as a password entry field (Getter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setPassword

        public void setPassword​(boolean value)

        Flags this text field as a password entry field (Setter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalStateException - if the form field has widgets
      • getDoNotSpellCheck

        public boolean getDoNotSpellCheck()

        Flags this text field for prevention from spell checking (Getter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setDoNotSpellCheck

        public void setDoNotSpellCheck​(boolean value)

        Flags this text field for prevention from spell checking (Setter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
      • getDoNotScroll

        public boolean getDoNotScroll()

        Flags this text field non scrollable (Getter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
      • setDoNotScroll

        public void setDoNotScroll​(boolean value)

        Flags this text field non scrollable (Setter)

        Throws:
        java.lang.IllegalStateException - if the object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only