Class WayPointPropertiesDialog extends ModalBaseDialog

This is the WayPointProerties dialog

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 37

Constructor

new WayPointPropertiesDialog ( wayPoint )

The constructor

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 72

Parameters

Name Type Description
wayPoint WayPoint

The wayPoint to modify

Public getters and setters

set address

The address in the control

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 142

readonly get contentHTMLElements : Array of HTMLElement

An array with the HTMLElements that have to be added in the content of the dialog. Overload of the BaseDialog contentHTMLElements property.

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 123

set name

The name in the control

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 134

readonly get title : String

The title of the dialog. Overload of the BaseDialog title property.

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 151

readonly get wayPoint : WayPoint

The waypoint used by the dialog

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 158

Public methods

createContentHTML ( )

Create all the controls needed for the dialog. Overload of the base class createContentHTML

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 83

onCancel ( )

Overload of the BaseDialog.onCancel ( ) method.

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 100

onOk ( )

Overload of the BaseDialog.onOk ( ) method. Called when the Ok button is clicked

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 110

setControlsValues ( values )

Set the control values after an update by the geoCoder

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 165

Parameters

Name Type Description
values Object

The values to push in the controls

Private properties

#addressControl : AddressControl

The waypoint address control

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 58

#eventListeners : WayPointPropertiesDialogEventListeners

The event listeners collection

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 65

#wayPoint : WayPoint

A reference to the edited wayPoint

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 44

#wayPointNameControl : TextInputControl

The waypoint name control

Source : file dialogs/wayPointPropertiesDialog/WayPointPropertiesDialog.js at line 51