KeyCombo
| Kind of class: | public class |
|---|---|
| Package: | org.casalib.ui |
| Inherits from: | none |
| Version: | 10/27/08 |
| Author: | Aaron Clinger |
| Classpath: | org.casalib.ui.KeyCombo |
| File last modified: | Monday, 01 December 2008, 11:16:36 |
Class for storing keyboard key code combinations.
Summary
Constructor
KeyCombo
public function KeyCombo (
keyCodes:Array)
Creates and defines a KeyCombo.
Parameters:
keyCodes:
An Array of
uint key codes that define a key combination.Throws:
- ArrayContentsError if
keyCodesArray contains a value not of typeuintor if the Array contains less than 2 values.
Instance properties
keyCodes
public keyCodes:Array
(read)
The key codes that compose this KeyCombo.
Instance methods
equals
Determines if the KeyCombo specified in the
keyCombo parameter is equal to this KeyCombo. Parameters:
keyCombo:
The KeyCombo class to compare to this class.
Returns:
- Returns
trueif the two KeyCombo classes contain the same key codes in the same order; otherwisefalse.