Class WidgetBaseXSL
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
-
Direct Known Subclasses:
-
WebServiceForm, TipWidgetBase, ServiceRegistryList, FeatureInfo, Widget, SearchWidget, SelectFeatureType, Version, Timestamp, ShowDistance, SelectAllMapLayers, LayerControl, FormBase, Locations, MapTitle, SelectMapLayers, AoiForm, FeatureList, CursorTrack, OpenLSForm, ModelUrlInput, OpenLSResponse, SLDEditor, MapScaleText, TabbedContent, OWSCatSearchForm, SelectTimeFrame, ModelStatus, FilterAttributes, SaveModel, EventLog, LegendGraphic, Legend, TransactionResponse, CollectionList, Abstract
- class
WidgetBaseXSL
- extends WidgetBase
Defined in WidgetBaseXSL.js
Author: Mike Adair
Constructor Summary |
WidgetBaseXSL
(widgetNode,model)
Base Class for widgets.
|
Method Summary |
void
|
clearWidget(objRef)
Remove widget from display.
|
void
|
paint(objRef, refreshId)
Render the widget.
|
stylesheet
Object stylesheet
WidgetBaseXSL
WidgetBaseXSL(widgetNode,model)
Base Class for widgets. Associates a node on the page with a stylesheet and
model. All widgets must extend this base class.
Defines the default paint() method for all widgets which is where the
stylesheet is applied to the model XML document.
To override widget.paint(), define it before calling this constructor.
The stylesheet URL defaults to "widget/.xsl" if it is not defined
in config file. Set a stylesheet property containing an XSL URL in config
to customize the stylesheet used.
All stylesheets will have "modelId" and "widgetId" parameters set when called.
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
widget
- Pointer to the widget instance being created
clearWidget
void clearWidget(objRef)
Remove widget from display.
Parameters:
objRef
- Pointer to this object.
paint
void paint(objRef, refreshId)
Parameters:
objRef
- Pointer to widget object.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007