window.runtime property | window.runtime.flash.ui.KeyLocation |
Inheritance | KeyLocation Object |
Runtime Versions: | AIR 1.0, |
The KeyLocation constants are used in the KeyboardEvent.keyLocation
property.
Constant | Defined By | ||
---|---|---|---|
D_PAD : uint = 4 [static]
Indicates the key activation originated on a directional pad of input device. | KeyLocation | ||
LEFT : uint = 1 [static]
Indicates the key activated is in the left key location (there is more than one possible location for this
key). | KeyLocation | ||
NUM_PAD : uint = 3 [static]
Indicates the key activation originated on the numeric keypad or with a virtual key corresponding
to the numeric keypad. | KeyLocation | ||
RIGHT : uint = 2 [static]
Indicates the key activated is in the right key location (there is more than one possible location for this
key). | KeyLocation | ||
STANDARD : uint = 0 [static]
Indicates the key activation is not distinguished as the left or right version of the key,
and did not originate on the numeric keypad (or did not originate with a virtual
key corresponding to the numeric keypad). | KeyLocation |
D_PAD | Constant |
public static const D_PAD:uint = 4
Runtime Versions: | 2.5 |
Indicates the key activation originated on a directional pad of input device. Example: The trackball on a mobile device or the left arrow on a remote control.
LEFT | Constant |
public static const LEFT:uint = 1
Runtime Versions: | AIR 1.0, |
Indicates the key activated is in the left key location (there is more than one possible location for this key). Example: The left Shift key on a PC 101 Key US keyboard.
NUM_PAD | Constant |
public static const NUM_PAD:uint = 3
Runtime Versions: | AIR 1.0, |
Indicates the key activation originated on the numeric keypad or with a virtual key corresponding to the numeric keypad. Example: The 1 key on a PC 101 Key US keyboard located on the numeric pad.
RIGHT | Constant |
public static const RIGHT:uint = 2
Runtime Versions: | AIR 1.0, |
Indicates the key activated is in the right key location (there is more than one possible location for this key). Example: The right Shift key on a PC 101 Key US keyboard.
STANDARD | Constant |
public static const STANDARD:uint = 0
Runtime Versions: | AIR 1.0, |
Indicates the key activation is not distinguished as the left or right version of the key, and did not originate on the numeric keypad (or did not originate with a virtual key corresponding to the numeric keypad). Example: The Q key on a PC 101 Key US keyboard.
Thu Sep 29 2011, 02:34 AM -07:00