Class CombTextField

    • Method Detail

      • getMaxLength

        public int getMaxLength()

        The maximal text length (Getter)

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

        public void setMaxLength​(int value)

        The maximal text length (Setter)

        When setting this property, the length of this field's text is truncated to the given value.
        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 smaller than 0