Package: | Ext |
Defined In: | EventManager.js, EventManager-more.js |
Class: | EventManager |
Extends: | Object |
Property | Defined By | |
---|---|---|
A : Number Key constant | EventManager | |
ALT : Number Key constant | EventManager | |
B : Number Key constant | EventManager | |
BACKSPACE : Number Key constant | EventManager | |
C : Number Key constant | EventManager | |
CAPS_LOCK : Number Key constant | EventManager | |
CONTEXT_MENU : Number Key constant | EventManager | |
CTRL : Number Key constant | EventManager | |
D : Number Key constant | EventManager | |
DELETE : Number Key constant | EventManager | |
DOWN : Number Key constant | EventManager | |
E : Number Key constant | EventManager | |
EIGHT : Number Key constant | EventManager | |
END : Number Key constant | EventManager | |
ENTER : Number Key constant | EventManager | |
ESC : Number Key constant | EventManager | |
F : Number Key constant | EventManager | |
F1 : Number Key constant | EventManager | |
F10 : Number Key constant | EventManager | |
F11 : Number Key constant | EventManager | |
F12 : Number Key constant | EventManager | |
F2 : Number Key constant | EventManager | |
F3 : Number Key constant | EventManager | |
F4 : Number Key constant | EventManager | |
F5 : Number Key constant | EventManager | |
F6 : Number Key constant | EventManager | |
F7 : Number Key constant | EventManager | |
F8 : Number Key constant | EventManager | |
F9 : Number Key constant | EventManager | |
FIVE : Number Key constant | EventManager | |
FOUR : Number Key constant | EventManager | |
G : Number Key constant | EventManager | |
H : Number Key constant | EventManager | |
HOME : Number Key constant | EventManager | |
I : Number Key constant | EventManager | |
INSERT : Number Key constant | EventManager | |
J : Number Key constant | EventManager | |
K : Number Key constant | EventManager | |
L : Number Key constant | EventManager | |
LEFT : Number Key constant | EventManager | |
M : Number Key constant | EventManager | |
N : Number Key constant | EventManager | |
NINE : Number Key constant | EventManager | |
NUM_CENTER : Number Key constant | EventManager | |
NUM_DIVISION : Number Key constant | EventManager | |
NUM_EIGHT : Number Key constant | EventManager | |
NUM_FIVE : Number Key constant | EventManager | |
NUM_FOUR : Number Key constant | EventManager | |
NUM_MINUS : Number Key constant | EventManager | |
NUM_MULTIPLY : Number Key constant | EventManager | |
NUM_NINE : Number Key constant | EventManager | |
NUM_ONE : Number Key constant | EventManager | |
NUM_PERIOD : Number Key constant | EventManager | |
NUM_PLUS : Number Key constant | EventManager | |
NUM_SEVEN : Number Key constant | EventManager | |
NUM_SIX : Number Key constant | EventManager | |
NUM_THREE : Number Key constant | EventManager | |
NUM_TWO : Number Key constant | EventManager | |
NUM_ZERO : Number Key constant | EventManager | |
O : Number Key constant | EventManager | |
ONE : Number Key constant | EventManager | |
P : Number Key constant | EventManager | |
PAGE_DOWN : Number Key constant | EventManager | |
PAGE_UP : Number Key constant | EventManager | |
PAUSE : Number Key constant | EventManager | |
PRINT_SCREEN : Number Key constant | EventManager | |
Q : Number Key constant | EventManager | |
R : Number Key constant | EventManager | |
RETURN : Number Key constant | EventManager | |
RIGHT : Number Key constant | EventManager | |
S : Number Key constant | EventManager | |
SEVEN : Number Key constant | EventManager | |
SHIFT : Number Key constant | EventManager | |
SIX : Number Key constant | EventManager | |
SPACE : Number Key constant | EventManager | |
T : Number Key constant | EventManager | |
TAB : Number Key constant | EventManager | |
THREE : Number Key constant | EventManager | |
TWO : Number Key constant | EventManager | |
U : Number Key constant | EventManager | |
UP : Number Key constant | EventManager | |
V : Number Key constant | EventManager | |
W : Number Key constant | EventManager | |
X : Number Key constant | EventManager | |
Y : Number Key constant | EventManager | |
Z : Number Key constant | EventManager | |
ZERO : Number Key constant | EventManager | |
ieDeferSrc : Object Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL) | EventManager | |
textResizeInterval : Object The frequency, in milliseconds, to check for text resize events (defaults to 50) | EventManager |
Method | Defined By | |
---|---|---|
addListener( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to an element. The shorthand version on is equivalent. Typically you will
use Ext.Element... Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
use Ext.Element.addListener directly on an Element in favor of calling this version. Parameters:
| EventManager | |
handleError( Object/Error e )
:
voidFramework-wide error-handler. Developers can override this method to provide
custom exception-handling. Framework e... Framework-wide error-handler. Developers can override this method to provide
custom exception-handling. Framework errors will often extend from the base
Ext.Error class. Parameters:
| EventManager | |
hasModifier()
:
Boolean Returns true if the control, meta, shift or alt key was pressed during this event. Returns true if the control, meta, shift or alt key was pressed during this event. Parameters:
| EventManager | |
on( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to an element. Shorthand for addListener. Appends an event handler to an element. Shorthand for addListener. Parameters:
| EventManager | |
onDocumentReady( Function fn , [Object scope ], [boolean options ] )
:
voidAdds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
acces... Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
accessed shorthanded as Ext.onReady(). Parameters:
| EventManager | |
onTextResize( Function fn , Object scope , boolean options )
:
voidAdds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old... Adds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old size and the new size. Parameters:
| EventManager | |
onWindowResize( Function fn , Object scope , boolean options )
:
voidAdds a listener to be notified when the browser window is resized and provides resize event buffering (100 millisecon... Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 milliseconds),
passes new viewport width and height to handlers. Parameters:
| EventManager | |
removeAll( String/HTMLElement el )
:
voidRemoves all event handers from an element. Typically you will use Ext.Element.removeAllListeners
directly on an Ele... Removes all event handers from an element. Typically you will use Ext.Element.removeAllListeners
directly on an Element in favor of calling this version. Parameters:
| EventManager | |
removeListener( String/HTMLElement el , String eventName , Function fn , Object scope )
:
voidRemoves an event handler from an element. The shorthand version un is equivalent. Typically
you will use Ext.Eleme... Removes an event handler from an element. The shorthand version un is equivalent. Typically
you will use Ext.Element.removeListener directly on an Element in favor of calling this version. Parameters:
| EventManager | |
removeResizeListener( Function fn , Object scope )
:
voidRemoves the passed window resize listener. Removes the passed window resize listener. Parameters:
| EventManager | |
un( String/HTMLElement el , String eventName , Function fn , Object scope )
:
voidRemoves an event handler from an element. Shorthand for removeListener. Removes an event handler from an element. Shorthand for removeListener. Parameters:
| EventManager |