Class Select

    • Constructor Detail

      • Select

        public Select()
    • Method Detail

      • isAutofocus

        public boolean isAutofocus()
        Returns the autofocus of this select 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 select 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 select tag.
        Since:
        8.0.3
      • isMultiple

        public boolean isMultiple()
        Returns the multiple of this select tag.
        Since:
        8.0.3
      • getName

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

        public boolean isRequired()
        Returns the required of this select 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 select 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 select tag.
        Since:
        8.0.3
      • getForm

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