Community Map Builder 21 Aug 2007

Class SearchWidget

Object
   |
   +--WidgetBase
         |
         +--WidgetBaseXSL
               |
               +--SearchWidget

class SearchWidget
extends WidgetBaseXSL

Defined in SearchWidget.js


Field Summary
 Object formName
          
 Object host
          
   
Fields inherited from class WidgetBaseXSL
stylesheet
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, node, groupnode
 
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
 
Methods inherited from class WidgetBaseXSL
paint, clearWidget
   
Methods inherited from class WidgetBase
initTargetModel
 

Field Detail

formName

Object formName

host

Object host

Constructor Detail

SearchWidget

SearchWidget(widgetNode, model)

Method Detail

handleKeyPress

Object handleKeyPress(event)

postPaint

void postPaint(objRef)

prePaint

void prePaint(objRef)

submitForm

void submitForm()

submitQuery

void submitQuery( query )

Community Map Builder 21 Aug 2007

Documentation generated by JSDoc on Tue Aug 21 08:12:28 2007