Class RoutePropertiesDialog extends ModalBaseDialog

This class is the route properties dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 41

Constructor

new RoutePropertiesDialog ( route )

The constructor

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 110

Parameters

Name Type Description
route Route

The route for witch the properties are edited

Public getters and setters

readonly get contentHTMLElements : Array of HTMLElement

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

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 212

readonly get title : String

Get the title of the dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 204

Public methods

createContentHTML ( )

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

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 120

onCancel ( )

Overload of the BaseDialog.onCancel ( ) method.

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 175

onOk ( )

Overload of the BaseDialog.onOk ( ) method. Called when the Ok button is clicked. Push the new route properties in the route and validate the route

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 185

show ( )

Overload of the ModalBaseDialog.show ( ) method.

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 165

Private properties

#chainedRouteControl : CheckboxInputControl

The chained route check box control in the dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 83

#colorControl : ColorControl

The colorControl object used in the dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 55

#dashSelectControl : SelectControl

The route dash control in the dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 76

#route : Route

A reference to the route

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 48

#routeNameControl : TextInputControl

The route name control

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 62

#routeWidthControl : NumberInputControl

The route width control in the dialog

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 69

Private getters and setters

readonly static get #ROUTE_MAX_WIDTH : Number

The maximal width for a Route polyline

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 99

readonly static get #ROUTE_MIN_WIDTH : Number

The minimal width for a Route polyline

Source : file dialogs/routePropertiesDialog/RoutePropertiesDialog.js at line 91