Annotation Interface InputType


@Documented public @interface InputType
An enumeration specifying the type of input control to render.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    A push button with no default behavior displaying the value of the value attribute, empty by default.
    static final String
    A check box allowing single values to be selected/deselected.
    static final String
    A control for specifying a color; opening a color picker when active in supporting browsers.
    static final String
    A control for entering a date (year, month, and day, with no time).
    static final String
    A control for entering a date and time, with no time zone.
    static final String
    A field for editing an email address.
    static final String
    A control that lets the user select a file.
    static final String
    A control that is not displayed but whose value is submitted to the server.
    static final String
    A graphical submit button.
    static final String
    A control for entering a month and year, with no time zone.
    static final String
    A control for entering a number.
    static final String
    A single-line text field whose value is obscured.
    static final String
    A radio button, allowing a single value to be selected out of multiple choices with the same name value.
    static final String
    A control for entering a number whose exact value is not important.
    static final String
    A button that resets the contents of the form to default values.
    static final String
    A single-line text field for entering search strings.
    static final String
    A button that submits the form.
    static final String
    A control for entering a telephone number.
    static final String
    The default value.
    static final String
    A control for entering a time value with no time zone.
    static final String
    A field for entering a URL.
    static final String
    A control for entering a date consisting of a week-year number and a week number with no time zone.
  • Field Details

    • button

      @Nonnull static final String button
      A push button with no default behavior displaying the value of the value attribute, empty by default.
      See Also:
    • checkbox

      @Nonnull static final String checkbox
      A check box allowing single values to be selected/deselected.
      See Also:
    • color

      @Nonnull static final String color
      A control for specifying a color; opening a color picker when active in supporting browsers.
      See Also:
    • date

      @Nonnull static final String date
      A control for entering a date (year, month, and day, with no time). Opens a date picker or numeric wheels for year, month, day when active in supporting browsers.
      See Also:
    • datetime_local

      @Nonnull static final String datetime_local
      A control for entering a date and time, with no time zone. Opens a date picker or numeric wheels for date- and time-components when active in supporting browsers.
      See Also:
    • email

      @Nonnull static final String email
      A field for editing an email address. Looks like a text input, but has validation parameters and relevant keyboard in supporting browsers and devices with dynamic keyboards.
      See Also:
    • file

      @Nonnull static final String file
      A control that lets the user select a file. Use the accept attribute to define the types of files that the control can select.
      See Also:
    • hidden

      @Nonnull static final String hidden
      A control that is not displayed but whose value is submitted to the server.
      See Also:
    • image

      @Nonnull static final String image
      A graphical submit button. Displays an image defined by the src attribute. The alt attribute displays if the image src is missing.
      See Also:
    • month

      @Nonnull static final String month
      A control for entering a month and year, with no time zone.
      See Also:
    • number

      @Nonnull static final String number
      A control for entering a number. Displays a spinner and adds default validation when supported. Displays a numeric keypad in some devices with dynamic keypads.
      See Also:
    • password

      @Nonnull static final String password
      A single-line text field whose value is obscured. Will alert user if site is not secure.
      See Also:
    • radio

      @Nonnull static final String radio
      A radio button, allowing a single value to be selected out of multiple choices with the same name value.
      See Also:
    • range

      @Nonnull static final String range
      A control for entering a number whose exact value is not important. Displays as a range widget defaulting to the middle value. Used in conjunction min and max to define the range of acceptable values.
      See Also:
    • reset

      @Nonnull static final String reset
      A button that resets the contents of the form to default values. Not recommended.
      See Also:
    • submit

      @Nonnull static final String submit
      A button that submits the form.
      See Also:
    • tel

      @Nonnull static final String tel
      A control for entering a telephone number. Displays a telephone keypad in some devices with dynamic keypads.
      See Also:
    • text

      @Nonnull static final String text
      The default value. A single-line text field. Line-breaks are automatically removed from the input value.
      See Also:
    • time

      @Nonnull static final String time
      A control for entering a time value with no time zone.
      See Also:
    • url

      @Nonnull static final String url
      A field for entering a URL. Looks like a text input, but has validation parameters and relevant keyboard in supporting browsers and devices with dynamic keyboards.
      See Also:
    • week

      @Nonnull static final String week
      A control for entering a date consisting of a week-year number and a week number with no time zone.
      See Also: