public final enum

TextMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.neomades.ui.TextMode

Class Overview

Enumeration that holds constants to customize the keyboard for a particular edition mode. See the list of constants below for more details.

The text mode changes the keyboard appearance to facilitate the user input. In general, the text mode acts like a hint. Users can still change the text mode manually, so developers should assume the input data may be incorrect and check the input. For example the mode EMAIL_ADDRESS will customize the keyboard to show the '@' sign, but the user can still type an invalid email.

Summary

Enum Values
TextMode  ANY  Shows the default keyboard to input raw text. 
TextMode  EMAIL_ADDRESS  Shows the keyboard to input an email address. 
TextMode  NUMERIC  Shows the keyboard to input numbers. 
TextMode  NUMERIC_DECIMAL  Shows the keyboard to input floating point numbers. 
TextMode  NUMERIC_SIGNED  Shows the keyboard to input signed numbers. 
TextMode  NUMERIC_SIGNED_DECIMAL  Shows the keyboard to input signed floating point numbers. 
TextMode  PHONE_NUMBER  Shows the keyboard to input a phone number. 
Public Methods
static TextMode valueOf(String name)
final static TextMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final TextMode ANY

Shows the default keyboard to input raw text.

public static final TextMode EMAIL_ADDRESS

Shows the keyboard to input an email address.

public static final TextMode NUMERIC

Shows the keyboard to input numbers.

public static final TextMode NUMERIC_DECIMAL

Shows the keyboard to input floating point numbers.

public static final TextMode NUMERIC_SIGNED

Shows the keyboard to input signed numbers.

public static final TextMode NUMERIC_SIGNED_DECIMAL

Shows the keyboard to input signed floating point numbers.

public static final TextMode PHONE_NUMBER

Shows the keyboard to input a phone number.

Public Methods

public static TextMode valueOf (String name)

public static final TextMode[] values ()