Module:libextPackage:wrap.extParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation

wrap.ext.KeyMap

Inheritance : Object

Constructors

Signature
public KeyMap(HTMLElement el, KeyMapOptions config)
public KeyMap(HTMLElement el, KeyMapOptions config, String eventName)

Methods

NameSignature
addBindingvoid addBinding(KeyMapOptions config)
addBindingvoid addBinding(Array<KeyMapOptions> config)
disablevoid disable()
enablevoid enable()
isEnabledboolean isEnabled()
onvoid on(KeyMapOptions number, Function fn)
onvoid on(Array<int> number, Function fn)
onvoid on(int number, Function fn)
onvoid on(int number, Function fn, Object scope)
onvoid on(KeyMapOptions number, Function fn, Object scope)
onvoid on(Array<int> number, Function fn, Object scope)

Properties

NameTypeComment
stopEvent
core.boolean

Constructors

public KeyMap(HTMLElement el, KeyMapOptions config)

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement
configwrap.ext.types.KeyMapOptions



public KeyMap(HTMLElement el, KeyMapOptions config, String eventName)

Parameters

NameTypeDescription
elorg.milescript.dom.HTMLElement
configwrap.ext.types.KeyMapOptions
eventNamecore.String



Methods

addBinding

void addBinding(KeyMapOptions config)

Parameters

NameTypeDescription
configwrap.ext.types.KeyMapOptions

addBinding

void addBinding(Array<KeyMapOptions> config)

Parameters

NameTypeDescription
configcore.Array<wrap.ext.types.KeyMapOptions>

disable

void disable()


enable

void enable()


isEnabled

boolean isEnabled()

Returns
core.boolean

on

void on(KeyMapOptions number, Function fn)

Parameters

NameTypeDescription
numberwrap.ext.types.KeyMapOptions
fncore.Function

on

void on(Array<int> number, Function fn)

Parameters

NameTypeDescription
numbercore.Array<core.int>
fncore.Function

on

void on(int number, Function fn)

Parameters

NameTypeDescription
numbercore.int
fncore.Function

on

void on(int number, Function fn, Object scope)

Parameters

NameTypeDescription
numbercore.int
fncore.Function
scopecore.Object

on

void on(KeyMapOptions number, Function fn, Object scope)

Parameters

NameTypeDescription
numberwrap.ext.types.KeyMapOptions
fncore.Function
scopecore.Object

on

void on(Array<int> number, Function fn, Object scope)

Parameters

NameTypeDescription
numbercore.Array<core.int>
fncore.Function
scopecore.Object

Module:libextPackage:wrap.extParent:ObjectCopyright (c) 2007, 2008 Point5U, LLC
Milescript - ExtJS Wrapper Library: Project Home | Documentation