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:
PlayBook Tablet OS Version:   1.0.6

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
  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
  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.

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.

URL


public static const URL:String = url

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