TextFieldInputMode

#include <bb/cascades/TextFieldInputMode>

Represents a text input mode for the TextField.

The TextFieldInputMode determines how the TextField behaves in relation to its text input. Each input mode has a default set of properties that specify what symbols appear on the keyboard and how the input is displayed in the field. For example, the Chat mode contains functionality that allows users to specify emoticons that can be rendered on the screen.

You can change the default properties for each mode by turning them on or off using TextContentFlag and TextInputFlag.

For a TextArea you must use TextAreaInputMode.

Since:

BlackBerry 10.0.0

Public Types

Type

Text input modes.

Since:

BlackBerry 10.0.0

Default

The default text input mode.

Since:

BlackBerry 10.0.0

Text

An input mode for plain text.

Since:

BlackBerry 10.0.0

EmailAddress

An input mode for Email addresses.

Since:

BlackBerry 10.0.0

Password

An input mode for passwords.

Since:

BlackBerry 10.0.0

Chat

An input mode for chat conversations.

Since:

BlackBerry 10.0.0

Url

An input mode for URLs.

Since:

BlackBerry 10.0.0

PhoneNumber

An input mode for phone numbers.

Since:

BlackBerry 10.0.0

NumbersAndPunctuation

An input mode for numbers and punctuation.

Since:

BlackBerry 10.0.0

NumericPassword

An input mode for numeric passwords.

Since:

BlackBerry 10.0.0

Pin

An input mode for a device PIN.

A PIN is a unique identifier for a device.

Since:

BlackBerry 10.0.0