Class fever.app.accelerator.KeyCombo

Implemented Interfaces

KeyDefinition

Description

Allows definition of key sequence like (CTRL+S) to be use by KeyboardController controller.

Example

	 var combo : KeyCombo = new KeyCombo( Keyboard.onKeyCONTROL, Keyboard.onKeyT )
	 controller.push( combo, new KeyComboCommand() );
 

See Also

Field Index

combo, delay, key, LIMITER

Method Index

new KeyCombo()
getName(), toString()

Constructor Detail

KeyCombo

public function KeyCombo(key:Keyboard)

Constructor.

Parameters

...Arguments chain is used to define sequence keys.

Field Detail

LIMITER

static public LIMITER:String
Constant definition for concatenation character.

key

public key:Keyboard [Read Only]
Keyboard instance created for this combo.

combo

public combo:String [Read Only]
Combo id.

delay

public delay:Number
Repetition delay for combo.

Method Detail

getName

public function getName():String

Returns key definition name.

Specified By

getName() in fever.app.accelerator.KeyDefinition

toString

public function toString():String

KeyCombo stringifier.

Return

String representation of instance

Specified By

toString() in fever.app.accelerator.KeyDefinition