Class SuggestBoxManager
Object
|
+--SuggestBoxManager
- class
SuggestBoxManager
Manager Class that provides static methods for SuggestBox functionalities. A static object of this class
is avaialable with name SBoxMgr
.
var SBoxMgr = new SuggestBoxManager();
Defined in SuggestBox.js
Method Summary |
void
|
cancelRequest(elmid)
Cancels all the previous request that are in response pending status.
|
Object
|
getSuggestBox(node)
Initializes and returns the SuggestBox object associated with the given DOM Node.
|
void
|
navigateTo(elmid, page)
|
Object
|
navigateWithMouse(elmid, page)
|
boolean
|
onBlur(node)
Informs the specified SuggestBox Field object that its TEXT INPUT element has lost the focus.
|
boolean
|
onFocus(node)
Informs the specified SuggestBox Field object that its TEXT INPUT element has got the focus.
|
boolean
|
onKeyDown(e,node)
Informs the specified SuggestBox Field object that its TEXT INPUT element has fired an "onkeydown" event.
|
boolean
|
onKeyUp(e,node,params)
Informs the specified SuggestBox Field object that its TEXT INPUT element has fired an "onkeyup" event.
|
SuggestBoxManager
SuggestBoxManager()
cancelRequest
void cancelRequest(elmid)
Cancels all the previous request that are in response pending status. Please note that
this method cannot cancel the requests that were sent with waitForResponse option.
Parameters:
elmid
- The Id of the SuggestBox
getSuggestBox
Object getSuggestBox(node)
Initializes and returns the SuggestBox object associated with the given DOM Node.
navigateTo
void navigateTo(elmid, page)
navigateWithMouse
Object navigateWithMouse(elmid, page)
onBlur
boolean onBlur(node)
Informs the specified SuggestBox Field object that its TEXT INPUT
element has lost the focus.
Parameters:
node
- The DOM Node of the TEXT INPUT
element
onFocus
boolean onFocus(node)
Informs the specified SuggestBox Field object that its TEXT INPUT
element has got the focus.
Parameters:
node
- The DOM Node of the TEXT INPUT
element
onKeyDown
boolean onKeyDown(e,node)
Informs the specified SuggestBox Field object that its TEXT INPUT
element has fired an "onkeydown" event.
Parameters:
node
- The DOM Node of the TEXT INPUT
element
onKeyUp
boolean onKeyUp(e,node,params)
Informs the specified SuggestBox Field object that its TEXT INPUT
element has fired an "onkeyup" event.
Parameters:
node
- The DOM Node of the TEXT INPUT
element
params
- The request parameters. It can be a single String in 'p1=p1val&p2=p2val'
form or a properties object in {p1:'p1val',p2:this.value}
form
Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008