Class IWRouteFormatter

A class representing a route segment object

This class is part of the module routing.


Constructor Summary
IWRouteFormatter(route)
            Creates a new router segment object
 
Method Summary
 String createDescriptionAsHTML(index)
           Returns the driving description.
 String createDistanceAsHTML(index)
           Returns the distance.
 String createImageAsHTML(index)
           Returns the html image tag for the route entry.
  createSummaryAsHTML()
           Creates a summary of the route as a HTML string
 String getLanguage()
           Returns the language code.
 void setLanguage(language)
           Sets the language code.
setRoutingSpriteUrl(routingSpriteUrl)
           Sets the url of the sprite for the routing description icons.
 
Constructor Detail

IWRouteFormatter

IWRouteFormatter(route)

Method Detail

createDescriptionAsHTML

String createDescriptionAsHTML(index)

createDistanceAsHTML

String createDistanceAsHTML(index)

createImageAsHTML

String createImageAsHTML(index)

createSummaryAsHTML

 createSummaryAsHTML()

getLanguage

String getLanguage()

setLanguage

void setLanguage(language)

setRoutingSpriteUrl

setRoutingSpriteUrl(routingSpriteUrl)

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:14 GMT+0100 (MEZ)