Community Map Builder 21 Aug 2007

Class Legend

Object
   |
   +--WidgetBase
         |
         +--WidgetBaseXSL
               |
               +--Legend

class Legend
extends WidgetBaseXSL

Defined in Legend.js

Author: Cameron Shorter cameronATshorter.net


 
Fields inherited from class WidgetBaseXSL
stylesheet
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, node, groupnode
 
Constructor Summary
Legend (widgetNode, model)
            Functions to render and update a Legend from a Web Map Context.
 
Method Summary
 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 selectLayer(objRef,layer)
           Controller method to select a layer
 void swapOpaqueLayer(layer)
           Controller method to select a layer
 
Methods inherited from class WidgetBaseXSL
paint, clearWidget
   
Methods inherited from class WidgetBase
initTargetModel, postPaint
 

Constructor Detail

Legend

Legend(widgetNode, model)

Method Detail

prePaint

void prePaint(objRef)

refresh

void refresh(objRef, layerName)

selectLayer

void selectLayer(objRef,layer)

swapOpaqueLayer

void swapOpaqueLayer(layer)

Community Map Builder 21 Aug 2007

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