Enum Class TextInputMode

java.lang.Object
java.lang.Enum<TextInputMode>
org.vaadin.miki.shared.text.TextInputMode
All Implemented Interfaces:
Serializable, Comparable<TextInputMode>, Constable

public enum TextInputMode extends Enum<TextInputMode>
All values supported by inputmode attribute of an input html element.
Since:
2023-04-21
Author:
miki
  • Enum Constant Details

  • Method Details

    • values

      public static TextInputMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TextInputMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null