Class Select

All Implemented Interfaces:
Serializable, Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl

public class Select extends AbstractTag
The SELECT tag.
Author:
tomyeh
See Also:
  • Constructor Details

    • Select

      public Select()
  • Method Details

    • 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
    • setDisabled

      public void setDisabled(boolean disabled) throws WrongValueException
      Sets the disabled of this select tag.
      Throws:
      WrongValueException
      Since:
      8.0.3
    • isMultiple

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

      public void setMultiple(boolean multiple) throws WrongValueException
      Sets the multiple of this select tag
      Throws:
      WrongValueException
      Since:
      8.0.3
    • getName

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

      public void setName(String name) throws WrongValueException
      Sets the name of this select tag.
      Throws:
      WrongValueException
      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 Integer getSize()
      Returns the size of this select tag.
      Since:
      8.0.3
    • setSize

      public void setSize(Integer size) throws WrongValueException
      Sets the size of this select tag.
      Throws:
      WrongValueException
      Since:
      8.0.3
    • getForm

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

      public void setForm(String form) throws WrongValueException
      Sets the form of this tag.
      Throws:
      WrongValueException
      Since:
      10.0.0
    • getWidgetClass

      public String getWidgetClass()
      Returns the widget class, "zhtml.Input".
      Specified by:
      getWidgetClass in interface Component
      Overrides:
      getWidgetClass in class AbstractTag
      Since:
      8.0.0
      See Also: