Class TravelPropertiesDialog extends DockableBaseDialog

This class is the TravelPropertiesDialog

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 43

Constructor

new TravelPropertiesDialog ( )

The constructor

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 63

Public getters and setters

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/travelPropertiesDialog/TravelPropertiesDialog.js at line 91

readonly get title : String

The dialog title. Overload of the BaseDialog.title property

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 103

Public methods

createContentHTML ( )

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

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 72

updateContent ( )

Update the content of the dialog

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 135

Private properties

#travelNameControl : TextInputControl

The travel name control

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 50

#travelRoutesControl : SortableListControl

The routes control

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 57

Private methods

#addRoute ( route, listItemsHTMLElements )

Add a route in the route list of the dialog

Source : file dialogs/travelPropertiesDialog/TravelPropertiesDialog.js at line 111

Parameters

Name Type Description
route Route

The route to add

listItemsHTMLElements Array of HTMLElement

The list to witch the routes are added