VirtualKeyboardEvent
Properties | Methods | Constants
Package | qnx.events |
Class | public class VirtualKeyboardEvent |
Inheritance | VirtualKeyboardEvent ![]() |
An event dispatched by the VirtualKeyboard class.
Class information: |
---|
PlayBook Tablet OS Version: 1.0.6 |
Public Properties
Property | Defined By | ||
---|---|---|---|
keyboardSize : Number
The height of the keyboard in pixels. | VirtualKeyboardEvent |
Public Methods
Method | Defined By | ||
---|---|---|---|
VirtualKeyboardEvent(type:String, keyboardSize:Number)
Creates a new VirtualKeyboardEvent. | VirtualKeyboardEvent |
Public Constants
Constant | Defined By | ||
---|---|---|---|
HIDE : String = virtualKeyboardHide [static]
Dispatched when the keyboard is hidden. | VirtualKeyboardEvent | ||
INFO : String = virtualKeyboardInfo [static]
Dispatched when the size of the keyboard changes. | VirtualKeyboardEvent | ||
SHOW : String = virtualKeyboardShow [static]
Dispatched when the keyboard is shown. | VirtualKeyboardEvent |
Property Detail
keyboardSize
public var keyboardSize:Number |
The height of the keyboard in pixels.
This value is valid only for the SHOW
and INFO
events.
Constructor Detail
VirtualKeyboardEvent()
public function VirtualKeyboardEvent(type:String, keyboardSize:Number) |
Creates a new VirtualKeyboardEvent.
Parameters
type:String — The type of event.
|
keyboardSize:Number — The size of the keyboard.
|
Constant Detail
HIDE
public static const HIDE:String = virtualKeyboardHide |
Dispatched when the keyboard is hidden. This is dispatched when the keyboard is dimissed for any reason.
INFO
public static const INFO:String = virtualKeyboardInfo |
Dispatched when the size of the keyboard changes.
SHOW
public static const SHOW:String = virtualKeyboardShow |
Dispatched when the keyboard is shown. This is dispatched when the keyboard is shown when a field that requires focus gets focus or when the user swipes up from the bottom right.