SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(route)
IWRoute route
Method Detail |
String createDescriptionAsHTML(index)
number index
String
String createDistanceAsHTML(index)
number index
String
String createImageAsHTML(index)
index
String
createSummaryAsHTML()
String getLanguage()
String
void setLanguage(language)
String language
void
setRoutingSpriteUrl(routingSpriteUrl)
String routingSpriteUrl