Class LayerControl
Object
|
+--WidgetBase
|
+--WidgetBaseXSL
|
+--LayerControl
- class
LayerControl
- extends WidgetBaseXSL
Defined in LayerControl.js
Author: adair
Constructor Summary |
LayerControl
(widgetNode, model)
Widget to allow control of layer odering, visibility, deletion
|
Method Summary |
void
|
ChangeImage(id, imageA, imageB)
Change image source from imageA to imageB
|
void
|
foldUnfoldGroup(groupName,id)
|
void
|
highlightLayer(layerName)
Displays a layer in a preview pane when mouse is over the table row
|
void
|
prePaint(objRef)
Override of widget prepaint to set some stylesheet parameters including
featureName (for OWS Context) and hidden attribute.
|
void
|
refresh(objRef, layerName)
Listener method to paint this widget
|
void
|
showLayerMetadata(layerName)
not working yet
|
void
|
switchVisibilityById(id)
Display or fold the layer's legend
|
LayerControl
LayerControl(widgetNode, model)
Widget to allow control of layer odering, visibility, deletion
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
ChangeImage
void ChangeImage(id, imageA, imageB)
Change image source from imageA to imageB
Parameters:
id
- id of image tag where we want to change the source
foldUnfoldGroup
void foldUnfoldGroup(groupName,id)
highlightLayer
void highlightLayer(layerName)
Displays a layer in a preview pane when mouse is over the table row
Parameters:
layerName
- the name of the layer to highlight
prePaint
void prePaint(objRef)
Override of widget prepaint to set some stylesheet parameters including
featureName (for OWS Context) and hidden attribute.
Parameters:
objRef
- Pointer to this object.
refresh
void refresh(objRef, layerName)
Listener method to paint this widget
Parameters:
layerName
- the name of the layer to highlight
showLayerMetadata
void showLayerMetadata(layerName)
Parameters:
layerName
- the name of the layer to highlight
switchVisibilityById
void switchVisibilityById(id)
Display or fold the layer's legend
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007