qnx.events.VirtualKeyboardEvent

VirtualKeyboardEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class VirtualKeyboardEvent
InheritanceVirtualKeyboardEvent Inheritance flash.events.Event

An event dispatched by the VirtualKeyboard class.

Class information:
PlayBook Tablet OS Version:   1.0.6



Public Properties

 PropertyDefined By
  keyboardSize : Number
The height of the keyboard in pixels.
VirtualKeyboardEvent

Public Methods

 MethodDefined By
  
VirtualKeyboardEvent(type:String, keyboardSize:Number)
Creates a new VirtualKeyboardEvent.
VirtualKeyboardEvent

Public Constants

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