| 
Community Map Builder 21 Aug 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--GLOBALS
| Method Summary | |
	 
	    <static> void
	 
       | 
      
	 
	    
	       addEvent(elementObject, eventName, functionObject)
	 
	 attach an event to an element.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       AsciiToNum( ascii )
	 
	  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       checkIESecurity()
	 
	 copied from sarissa, a function to check browser security setting in IE, opens a help page if ActiveX objects are disabled.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       cscsRequestCSDefinition(csCode)
	 
	 Attempts to retreive a Coordinate System definition, and if necessary associated projection functions, from server.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       debug(output)
	 
	 write debugging info to a textbox onscreen.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       degToRad(deg)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       formatMGRS()
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       formatNumber(aNumber, numDecimals)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       get100kID( easting, northing, zone_number)
	 
	 Get the two letter 100k designator for a given UTM easting, northing and zone number value.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       get100kSetForZone(i)
	 
	 Given a UTM zone number, figure out the MGRS 100K set it is in.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       get_content(url)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getAbsPos(elt,which)
	 
	 TBD: Comment me.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getAbsX(elt)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getAbsY(elt)
	 
	 get the absolute position of HTML element NS4, IE4/5 & NS6, even if it's in a table.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getArgs()
	 
	 parse comma-separated name=value argument pairs from the query string of the URL; the function stores name=value pairs in properties of an object and returns that object.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getGeoCoordX(context, xCooord)
	 
	 convert screen x coordinate to geographic coordinate.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getGeoCoordY(yCoord)
	 
	 convert screen coordinate to screen coordinate.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getLetter100kID( column, row, parm)
	 
	 Get the two-letter MGRS 100k designator given information translated from the UTM northing, easting and zone number.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getLetterDesignator(lat)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getNodeValue(sResult)
	 
	 getNodevalue return value of node it as OpenLayers style  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getPageX(e)
	 
	 get the absolute position of a user event (e.g., a mousedown).  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getPageY(e)
	 
	 get the absolute position of a user event (e.g., a mousedown).  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getProxyPlusUrl(url)
	 
	 If URL is local, then return URL unchanged, else return URL of http://proxy?url=URL , or null if proxy not defined.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getScreenX(context, xCoord)
	 
	 convert geographic x coordinate to screen coordinate.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       getScreenY(context, yCoord)
	 
	 convert geographic y coordinate to screen coordinate.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       handleEventWithObject(evt)
	 
	 handle event attached to an object.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       imageLoaded()
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       LLtoUTM()
	 
	 Converts a set of Longitude and Latitude co-ordinates to UTM given an ellipsoid  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       loadCss(cssFileName)
	 
	 Dynamically loads a stylesheet into the html page.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       makeElt(type)
	 
	 create an element and append it to the document body element.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       mapbuilderInit()
	 
	 Initialise Mapbuilder if script has been loaded, else wait to be called again.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       mbDebugMessage(object, message)
	 
	 Show a message if the debug property of the object has been set.  | 
   
	 
	    <static> void
	 
       | 
      
	 
	    
	       mbDoLoad(initFunction)
	 
	 Mapbuilder's main initialisation script.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       mbFormatMessage(messageFormat)
	 
	 Format a message with the extra arguments.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       mbGetMessage(messageKey)
	 
	 Get a message from the widgetText file and format it if extra
 arguments are passed.
       | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       MGRS()
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       NumToAscii( num )
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       openPopup(url, width, height)
	 
	 open a popup window, adapted from http://www.quirksmode.org/js/croswin.html  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       postGetLoad(sUri, docToSend, contentType , dir, fileName)
	 
	 A more flexible interface for loading docs that allows POST et GET param for save model  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       postLoad(sUri, docToSend, contentType )
	 
	 A more flexible interface for loading docs that allows POST and async loading  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       Proj(srs)
	 
	  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       returnTarget(evt)
	 
	 determine and return the target element of an event.  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       sld2OlStyle(node)
	 
	 extract a style from a SLD node of an XML doc and return it as OpenLayers style  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       sld2UrlParam(node)
	 
	 extract a style from a SLD node of an XML doc and return it as url parameter for a WMS request  | 
   
	 
	    <static> Object
	 
       | 
      
	 
	    
	       styleValue(aSelector, styleKey)
	 
	  | 
   
| Method Detail | 
<static> void addEvent(elementObject, eventName, functionObject)
elementObject -  The object.  
      eventName -  The name of the event.  
      functionObject -  The function to be called.    
      <static> Object AsciiToNum( ascii )
<static> void checkIESecurity()
<static> void cscsRequestCSDefinition(csCode)
<static> void debug(output)
output -  String to be output.    
      <static> Object degToRad(deg)
<static> Object formatMGRS()
<static> Object formatNumber(aNumber, numDecimals)
<static> Object get100kID( easting, northing, zone_number)
<static> Object get100kSetForZone(i)
<static> Object get_content(url)
<static> Object getAbsPos(elt,which)
elt -  TBD  
      which -  TBD
      <static> Object getAbsX(elt)
<static> Object getAbsY(elt)
element -  The HTML element.  
      <static> Object getArgs()
<static> Object getGeoCoordX(context, xCooord)
context -  The context object.  
      xCoord -  The screen x coordinate to be converted.  
      <static> Object getGeoCoordY(yCoord)
yCoord -  The geographic y coordinate to be converted.  
      context -  The context object.  
      <static> Object getLetter100kID( column, row, parm)
setColumn -  the column index as it relates to the MGRS         100k set spreadsheet, created from the UTM easting.         Values are 1-8.  
      setRow -  the row index as it relates to the MGRS 100k set         spreadsheet, created from the UTM northing value. Values         are from 0-19.  
      setParm -  the set block, as it relates to the MGRS 100k set         spreadsheet, created from the UTM zone. Values are from         1-60.  
      <static> Object getLetterDesignator(lat)
<static> Object getNodeValue(sResult)
node -    
      <static> Object getPageX(e)
e -  The user event.  
      <static> Object getPageY(e)
e -  The user event.  
      <static> Object getProxyPlusUrl(url)
url -  Url of the file to access.  
      <static> Object getScreenX(context, xCoord)
context -  The context object.  
      xCoord -  The geographic x coordinate to be converted.  
      <static> Object getScreenY(context, yCoord)
context -  The context object.  
      yCoord -  The geographic x coordinate to be converted.  
      <static> void handleEventWithObject(evt)
evt -  The event.    
      <static> Object imageLoaded()
<static> Object LLtoUTM()
ellip -  an ellipsoid definition.  
      llpoint -  the coordinate to be converted  
      utmpoint -  A UTMPoint instance to put the results in. If         null, a new UTMPoint will be allocated.  
      null if conversion failed. If you pass          in a UTMPoint, it will be returned as well if          successful. 
        <static> void loadCss(cssFileName)
cssFileName -  name of the file to load, relative to config.skinDir    
      <static> Object makeElt(type)
type -  The type of element to be created.  
      <static> void mapbuilderInit()
<static> void mbDebugMessage(object, message)
object -   the object that possibly has the debug property set  
      message -  the message to show    
      <static> void mbDoLoad(initFunction)
initFunction -  Optional - A function reference that will be called after   config.init() has been called.  This is to give application code a chance to  do initialization and be guaranteed that all objects exist (inlcuding config).    
      <static> Object mbFormatMessage(messageFormat)
mbFormatMessage("{1} is {0} {2}, {1}", "a good", "this", "test")"this is a good test, this"messageFormat -  the message format string  
      varArgs -        optional extra parameters for formatting the message  
      <static> Object mbGetMessage(messageKey)
widgetText file and format it if extra
 arguments are passed.messageKey -        the message key within the message node  
      varArgs -           optional extra parameters for formatting the message  
      "NoMsgsFound" if the widgetText file is not found,messageKey if the message key was not found within the message node,<static> Object MGRS()
<static> Object NumToAscii( num )
<static> Object openPopup(url, width, height)
url -  The url of the page to be opened.  
      width -  Width of the popup window, in pixels.  
      height -  Height of the popup window, in pixels.
      <static> Object postGetLoad(sUri, docToSend, contentType , dir, fileName)
<static> Object postLoad(sUri, docToSend, contentType )
<static> Object Proj(srs)
<static> Object returnTarget(evt)
evt -  The event.  
      <static> Object sld2OlStyle(node)
node -  XML node containing the styled layer descriptor  
      objRef -  reference to the map widget that will use the style  
      <static> Object sld2UrlParam(node)
node -  XML node containing the styled layer descriptor  
      <static> Object styleValue(aSelector, styleKey)
  | 
Community Map Builder 21 Aug 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||