Class RoadbookUpdater

This class performs the updates of the roadbook after changes in the Travel

Source : file roadbook/RoadbookUpdater.js at line 31

Constructor

new RoadbookUpdater ( )

The constructor

Source : file roadbook/RoadbookUpdater.js at line 140

Public getters and setters

get showManeuversNotes : Boolean

The visibility status of the maneuver notes

Source : file roadbook/RoadbookUpdater.js at line 177

set showManeuversNotes

Source : file roadbook/RoadbookUpdater.js at line 178

get showProfiles : Boolean

The visibility status of the profiles

Source : file roadbook/RoadbookUpdater.js at line 199

set showProfiles

Source : file roadbook/RoadbookUpdater.js at line 200

get showRouteNotes : Boolean

The visibility status of the route notes

Source : file roadbook/RoadbookUpdater.js at line 166

set showRouteNotes

Source : file roadbook/RoadbookUpdater.js at line 167

get showSmallNotes : Boolean

The visibility status of the small notes

Source : file roadbook/RoadbookUpdater.js at line 188

set showSmallNotes

Source : file roadbook/RoadbookUpdater.js at line 189

get showTravelNotes : Boolean

The visibility status of the travel notes

Source : file roadbook/RoadbookUpdater.js at line 155

set showTravelNotes

Source : file roadbook/RoadbookUpdater.js at line 156

Public methods

updateNotesAndProfiles ( )

Update the notes visibility

Source : file roadbook/RoadbookUpdater.js at line 209

updateRoadbook ( pageContent )

Updating roadbook

Source : file roadbook/RoadbookUpdater.js at line 223

Parameters

Name Type Description
pageContent String

An html string with the travel, routes and notes

Private properties

#showManeuversNotes : Boolean

The visibility status of the maneuver notes

Source : file roadbook/RoadbookUpdater.js at line 59

#showProfiles : Boolean

The visibility status of the profiles

Source : file roadbook/RoadbookUpdater.js at line 73

#showRouteNotes : Boolean

The visibility status of the route notes

Source : file roadbook/RoadbookUpdater.js at line 52

#showSmallNotes : Boolean

The visibility status of the small notes

Source : file roadbook/RoadbookUpdater.js at line 66

#showTravelNotes : Boolean

The visibility status of the travel notes

Source : file roadbook/RoadbookUpdater.js at line 45

#travelNotesHtmlElement : HTMLElement

The HTMLElement in witch the roadbook content is placed

Source : file roadbook/RoadbookUpdater.js at line 38

Private methods

#toggleNotes ( selector, show )

Show or hide the notes

Source : file roadbook/RoadbookUpdater.js at line 81

Parameters

Name Type Description
selector String

The css selector for the notes to show/hide

show Boolean

A flag indicating when the note have to be showed

#toggleProfiles ( show )

Show or hide the profiles

Source : file roadbook/RoadbookUpdater.js at line 99

Parameters

Name Type Description
show Boolean

A flag indicating when the profiles have to be showed

#toggleSmallNotes ( small )

Show or hide the small notes

Source : file roadbook/RoadbookUpdater.js at line 117

Parameters

Name Type Description
small Boolean

A flag indicating when the note have to be small