Community Map Builder 21 Aug 2007

Class LayerControl

Object
   |
   +--WidgetBase
         |
         +--WidgetBaseXSL
               |
               +--LayerControl

class LayerControl
extends WidgetBaseXSL

Defined in LayerControl.js

Author: adair


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

Constructor Detail

LayerControl

LayerControl(widgetNode, model)

Method Detail

ChangeImage

void ChangeImage(id, imageA, imageB)

foldUnfoldGroup

void foldUnfoldGroup(groupName,id)

highlightLayer

void highlightLayer(layerName)

prePaint

void prePaint(objRef)

refresh

void refresh(objRef, layerName)

showLayerMetadata

void showLayerMetadata(layerName)

switchVisibilityById

void switchVisibilityById(id)

Community Map Builder 21 Aug 2007

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