Community Map Builder 21 Aug 2007

Class MapScaleText

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

class MapScaleText
extends WidgetBaseXSL

Defined in MapScaleText.js


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

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 21 Aug 2007

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