Community Map Builder 27 Apr 2008

Class LayerControl

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

class LayerControl
extends WidgetBaseXSL

Defined in LayerControl.js

Author: adair


 
Fields inherited from class WidgetBaseXSL
stylesheet, parseHTMLNodes
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, autoRefresh, debug
 
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(layerId)
           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(layerId)
           not working yet
 void switchVisibilityById(id)
           Display or fold the layer's legend
 
Methods inherited from class WidgetBaseXSL
paint
   
Methods inherited from class WidgetBase
getProperty, getNode, initTargetModel, postPaint, clearWidget
 

Constructor Detail

LayerControl

LayerControl(widgetNode, model)

Method Detail

ChangeImage

void ChangeImage(id, imageA, imageB)

foldUnfoldGroup

void foldUnfoldGroup(groupName,id)

highlightLayer

void highlightLayer(layerId)

prePaint

void prePaint(objRef)

refresh

void refresh(objRef, layerName)

showLayerMetadata

void showLayerMetadata(layerId)

switchVisibilityById

void switchVisibilityById(id)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008