Main Page | Packages | Class Tree | Index | Help

xp.events

class HotKeyListener

Object
  |
  +--xp.events.HotKeyListener


class HotKeyListener
extends Object



Method Summary

public static
bind ( key: String, target: Object, handler: Function, params: Array )
bind a keyboard shortcut

public static
unbind ( key: String ): Void
Unbind a keyboard shortcut*



Method Documentation

bind

public static function bind(key: String,
 target: Object,
 handler: Function,
 params: Array)
bind a keyboard shortcut

Parameters:
key
the key to bind A..Z. Prefix CTRL+ for control key, SHIFT+ for shift key ie CTRL+A
target
the target object to invoke
handler
the function on the target to invoke
params
Any params to pass on the invoke call

unbind

public static function unbind(key: String): Void
Unbind a keyboard shortcut*


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc