Would you like to tell us how we are doing?

You bet No thanks
qnx.fuse.ui.text.KeyboardType

KeyboardType

Constants


Packageqnx.fuse.ui.text
Classpublic class KeyboardType
InheritanceKeyboardType Inheritance Object

The KeyboardType class contains constants that define the layout of the keyboard that appears when the user clicks in a textInput component. For example, you can enable an email-specific keyboard when the user clicks in a textInput component that takes an email address.

The following code listing creates an email-specific keyboard:

firstInput = new TextInput;
firstInput.softKeyboardType = KeyboardType.EMAIL;
firstInput.width = 200;
     


Class information:
BlackBerry 10 Version:   10.0.0

See also

ReturnKeyType



Public Constants

 ConstantDefined By
  DEFAULT : String = default
[static] The default keyboard layout.
KeyboardType
  EMAIL : String = email
[static] The email-specific keyboard layout.
KeyboardType
  NUMBERS : String = pin_sim
[static] The numbers keyboard layout.
KeyboardType
  NUMBERS_PUNCTUATION : String = num_punc
[static] The numbers and punctuation keyboard layout.
KeyboardType
  PASSWORD : String = password
[static] The password-specific keyboard layout.
KeyboardType
  PHONE : String = phone
[static] The phone-specific keyboard layout.
KeyboardType
  PIN : String = pin
[static] The PIN-specific keyboard layout.
KeyboardType
  SYMBOLS : String = symbol
[static] The symbol keyboard layout.
KeyboardType
  URL : String = url
[static] The URL-specific keyboard layout (for entering web addresses).
KeyboardType

Constant Detail

DEFAULT


public static const DEFAULT:String = default

The default keyboard layout.

EMAIL


public static const EMAIL:String = email

The email-specific keyboard layout.

NUMBERS


public static const NUMBERS:String = pin_sim

The numbers keyboard layout.

NUMBERS_PUNCTUATION


public static const NUMBERS_PUNCTUATION:String = num_punc

The numbers and punctuation keyboard layout.

PASSWORD


public static const PASSWORD:String = password

The password-specific keyboard layout.

PHONE


public static const PHONE:String = phone

The phone-specific keyboard layout.

PIN


public static const PIN:String = pin

The PIN-specific keyboard layout.

SYMBOLS


public static const SYMBOLS:String = symbol

The symbol keyboard layout.

URL


public static const URL:String = url

The URL-specific keyboard layout (for entering web addresses).