Community Map Builder 27 Apr 2008

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, parseHTMLNodes
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, autoRefresh, debug
 
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
   
Methods inherited from class WidgetBase
getProperty, getNode, initTargetModel, postPaint, clearWidget
 

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 27 Apr 2008

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