Class Input

    • Constructor Detail

      • Input

        public Input()
      • Input

        protected Input​(java.lang.String tagnm)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the value of this input.
      • isChecked

        public boolean isChecked()
        Returns if the input is checked (type: checkbox or radio).
      • getAccept

        public java.lang.String getAccept()
        Returns the accept of this input tag.
        Since:
        8.0.3
      • getAlt

        public java.lang.String getAlt()
        Returns the alt of this input tag.
        Since:
        8.0.3
      • getAutocomplete

        public java.lang.String getAutocomplete()
        Returns the autocomplete of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setAutocomplete

        public void setAutocomplete​(java.lang.String autocomplete)
                             throws WrongValueException
        Sets the autocomplete of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • isAutofocus

        public boolean isAutofocus()
        Returns the autofocus of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setAutofocus

        public void setAutofocus​(boolean autofocus)
                          throws WrongValueException
        Sets the autofocus of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getDirname

        public java.lang.String getDirname()
        Returns the dirname of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setDirname

        public void setDirname​(java.lang.String dirname)
                        throws WrongValueException
        Sets the dirname of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • isDisabled

        public boolean isDisabled()
        Returns the disabled of this input tag.
        Since:
        8.0.3
      • getHeight

        public java.lang.String getHeight()
        Returns the height of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setHeight

        public void setHeight​(java.lang.String height)
                       throws WrongValueException
        Sets the height of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getInputmode

        public java.lang.String getInputmode()
        Returns the inputmode of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setInputmode

        public void setInputmode​(java.lang.String inputmode)
                          throws WrongValueException
        Sets the inputmode of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getList

        public java.lang.String getList()
        Returns the list of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setList

        public void setList​(java.lang.String list)
                     throws WrongValueException
        Sets the list of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getMax

        public java.lang.String getMax()
        Returns the max of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setMax

        public void setMax​(java.lang.String max)
                    throws WrongValueException
        Sets the max of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getMaxlength

        public java.lang.Integer getMaxlength()
        Returns the maxlength of this input tag.
        Since:
        8.0.3
      • getMin

        public java.lang.String getMin()
        Returns the min of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setMin

        public void setMin​(java.lang.String min)
                    throws WrongValueException
        Sets the min of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getMinlength

        public java.lang.Integer getMinlength()
        Returns the minlength of this tag.
        Since:
        10.0.0
      • isMultiple

        public boolean isMultiple()
        Returns the multiple of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setMultiple

        public void setMultiple​(boolean multiple)
                         throws WrongValueException
        Sets the multiple of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getName

        public java.lang.String getName()
        Returns the name of this input tag.
        Since:
        8.0.3
      • getPattern

        public java.lang.String getPattern()
        Returns the pattern of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setPattern

        public void setPattern​(java.lang.String pattern)
                        throws WrongValueException
        Sets the pattern of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getPlaceholder

        public java.lang.String getPlaceholder()
        Returns the placeholder of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setPlaceholder

        public void setPlaceholder​(java.lang.String placeholder)
                            throws WrongValueException
        Sets the placeholder of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • isReadonly

        public boolean isReadonly()
        Returns the readonly of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setReadonly

        public void setReadonly​(java.lang.Boolean readonly)
                         throws WrongValueException
        Sets the readonly of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • isRequired

        public boolean isRequired()
        Returns the required of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setRequired

        public void setRequired​(boolean required)
                         throws WrongValueException
        Sets the required of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getSelectiondirection

        public java.lang.String getSelectiondirection()
        Returns the selectiondirection of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setSelectiondirection

        public void setSelectiondirection​(java.lang.String selectiondirection)
                                   throws WrongValueException
        Sets the selectiondirection of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getSize

        public java.lang.Integer getSize()
        Returns the size of this input tag.
        Since:
        8.0.3
      • getSrc

        public java.lang.String getSrc()
        Returns the src of this input tag.
        Since:
        8.0.3
      • getStep

        public java.lang.Integer getStep()
        Returns the step of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setStep

        public void setStep​(java.lang.Integer step)
                     throws WrongValueException
        Sets the step of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getType

        public java.lang.String getType()
        Returns the type of this input tag.
        Since:
        8.0.3
      • getWidth

        public java.lang.String getWidth()
        Returns the width of this input tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.0.3
      • setWidth

        public void setWidth​(java.lang.String width)
                      throws WrongValueException
        Sets the width of this input tag

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.0.3
      • getCapture

        public java.lang.String getCapture()
        Returns the capture of this tag.
        Since:
        10.0.0
      • getForm

        public java.lang.String getForm()
        Returns the form of this tag.
        Since:
        10.0.0
      • setForm

        public void setForm​(java.lang.String form)
                     throws WrongValueException
        Sets the form of this tag.

        The <form> element to associate the button with (its form owner). The value of this attribute must be the id of a <form> in the same document. (If this attribute is not set, the <button> is associated with its ancestor <form> element, if any.)

        This attribute lets you associate <button> elements to <form>s anywhere in the document, not just inside a <form>. It can also override an ancestor <form> element.

        Throws:
        WrongValueException
        Since:
        10.0.0
      • getFormaction

        public java.lang.String getFormaction()
        Returns the formaction of this tag.
        Since:
        10.0.0
      • setFormaction

        public void setFormaction​(java.lang.String formaction)
                           throws WrongValueException
        Sets the formaction of this tag.

        The URL that processes the information submitted by the button. Overrides the action attribute of the button's form owner. Does nothing if there is no form owner.

        Throws:
        WrongValueException
        Since:
        10.0.0
      • getFormenctype

        public java.lang.String getFormenctype()
        Returns the formenctype of this tag.
        Since:
        10.0.0
      • setFormenctype

        public void setFormenctype​(java.lang.String formenctype)
                            throws WrongValueException
        Set the formenctype of this tag.

        If the button is a submit button (it's inside/associated with a <form> and doesn't have type="button"), specifies how to encode the form data that is submitted.

        Throws:
        WrongValueException
        Since:
        10.0.0
      • getFormmethod

        public java.lang.String getFormmethod()
        Returns the formmethod of this tag.
        Since:
        10.0.0
      • setFormmethod

        public void setFormmethod​(java.lang.String formmethod)
                           throws WrongValueException
        Sets the formmethod of this tag.

        If the button is a submit button (it's inside/associated with a <form> and doesn't have type="button"), this attribute specifies the HTTP method used to submit the form.

        Throws:
        WrongValueException
        Since:
        10.0.0
      • getFormnovalidate

        public java.lang.String getFormnovalidate()
        Returns the formnovalidate of this tag.
        Since:
        10.0.0
      • setFormnovalidate

        public void setFormnovalidate​(java.lang.String formnovalidate)
                               throws WrongValueException
        Sets the formnovalidate of this tag.

        If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the novalidate attribute of the button's form owner.

        Throws:
        WrongValueException
        Since:
        10.0.0
      • getFormtarget

        public java.lang.String getFormtarget()
        Returns the formtarget of this tag.
        Since:
        10.0.0
      • setFormtarget

        public void setFormtarget​(java.lang.String formtarget)
                           throws WrongValueException
        Sets the formtarget of this tag.

        If the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. This is the name of, or keyword for, a browsing context (a tab, window, or <iframe>). If this attribute is specified, it overrides the target attribute of the button's form owner.

        Throws:
        WrongValueException
        Since:
        10.0.0