Class SearchWidget
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--SearchWidget
- class
SearchWidget
- extends WidgetBaseXSL
Defined in SearchWidget.js
Constructor Summary |
SearchWidget
(widgetNode, model)
Widget to display the a form to input any model's URL and load the new URL
as the model's document
|
Method Summary |
Object
|
handleKeyPress(event)
handles keypress events to filter out everything except "enter".
|
void
|
postPaint(objRef)
Refreshes the form and event handlers when this widget is painted.
|
void
|
prePaint(objRef)
initializes stylesheet parameters for the form
|
void
|
submitForm()
Handles submission of the form (via javascript in an tag)
|
void
|
submitQuery( query )
fake a submit Form
|
formName
Object formName
host
Object host
SearchWidget
SearchWidget(widgetNode, model)
Widget to display the a form to input any model's URL and load the new URL
as the model's document
Parameters:
widgetNode
- This widget's object node from the configuration document.
model
- The model that this widget is a view of.
handleKeyPress
Object handleKeyPress(event)
handles keypress events to filter out everything except "enter".
Pressing the "enter" key will trigger a form submit
Parameters:
event
- the event object passed in for Mozilla; IE uses window.event
postPaint
void postPaint(objRef)
Refreshes the form and event handlers when this widget is painted.
Parameters:
objRef
- Pointer to this CurorTrack object.
prePaint
void prePaint(objRef)
initializes stylesheet parameters for the form
Parameters:
objRef
- Pointer to this widget object.
submitForm
void submitForm()
Handles submission of the form (via javascript in an tag)
submitQuery
void submitQuery( query )
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007