Class Index | File Index

Classes


Class adf.ScaleBarRenderer


Defined in: ScaleBar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.ScaleBarRenderer is the base class to be implemented by all classes that render a type of scalebar It provides init and render methods, each of these methods has an empty default implementation.
Field Summary
Field Attributes Field Name and Description
 
The Scalebar object rendered by this renderer
Method Summary
Method Attributes Method Name and Description
 
init(container)
Used to Initialize the renderer This is an empty default implementation.
 
render(screenDistance, mapDistance, units)
This method renders the style of rendering by its derived classes
Class Detail
adf.ScaleBarRenderer()
adf.ScaleBarRenderer is the base class to be implemented by all classes that render a type of scalebar It provides init and render methods, each of these methods has an empty default implementation. This class is extended by adf.ScaleBarRendererBase
Field Detail
{adf.ScaleBar} scaleBar
The Scalebar object rendered by this renderer
Default Value:
49
Method Detail
init(container)
Used to Initialize the renderer This is an empty default implementation.
Parameters:
container

render(screenDistance, mapDistance, units)
This method renders the style of rendering by its derived classes
Parameters:
{Number} screenDistance
Screen Distance of the ScaleBar
{Number} mapDistance
map Distance measured by the ScaleBar
{String} units
The measuringunits of the ScaleBar

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:43 GMT-0700 (PDT)