Community Map Builder 27 Apr 2008

Class MapScaleText

Object
   |
   +--WidgetBase
         |
         +--WidgetBaseXSL
               |
               +--MapScaleText

class MapScaleText
extends WidgetBaseXSL

Defined in MapScaleText.js


Field Summary
 Object formName
          
   
Fields inherited from class WidgetBaseXSL
stylesheet, parseHTMLNodes
   
Fields inherited from class WidgetBase
model, widgetNode, id, outputNodeId, htmlTagId, autoRefresh, debug
 
Constructor Summary
MapScaleText (widgetNode, model)
            Widget to display the scale of a map.
 
Method Summary
 Object handleKeyPress(event)
           handles keypress events to filter out everything except "enter".
 void postPaint(objRef)
           Refreshes the form and event handlers when this widget is painted.
 void prePaint(objRef)
           Called just before paint to set the map scale as stylesheet param
 void showScale(objRef)
           outputs the scale value to the form element
 Object submitForm()
           Handles submission of the form (via javascript in an tag or onsubmit handler)
 
Methods inherited from class WidgetBaseXSL
paint
   
Methods inherited from class WidgetBase
getProperty, getNode, initTargetModel, clearWidget
 

Field Detail

formName

Object formName

Constructor Detail

MapScaleText

MapScaleText(widgetNode, model)

Method Detail

handleKeyPress

Object handleKeyPress(event)

postPaint

void postPaint(objRef)

prePaint

void prePaint(objRef)

showScale

void showScale(objRef)

submitForm

Object submitForm()

Community Map Builder 27 Apr 2008

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