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:
BlackBerry 10 Version:   10.0.0
Found in:  QNXDevice.ane



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.

The VirtualKeyboardEvent.HIDE constant defines the value of the type property of the event object for an virtualKeyboardHide event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
keyboardSizeNot valid for this event type.
typeVirtualKeyboardEvent.HIDE

INFO


public static const INFO:String = virtualKeyboardInfo

Dispatched when the size of the keyboard changes.

The VirtualKeyboardEvent.INFO constant defines the value of the type property of the event object for an virtualKeyboardInfo event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
keyboardSizeThe height of the keyboard in pixels.
typeVirtualKeyboardEvent.INFO

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.

The VirtualKeyboardEvent.SHOW constant defines the value of the type property of the event object for an virtualKeyboardShow event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
keyboardSizeThe height of the keyboard in pixels.
typeVirtualKeyboardEvent.SHOW





comments powered by Disqus