Class PasswordDialog extends ModalBaseDialog

This class is the password dialog

Source : file dialogs/passwordDialog/PasswordDialog.js at line 35

Constructor

new PasswordDialog ( verifyPassword )

The constructor

Source : file dialogs/passwordDialog/PasswordDialog.js at line 64

Parameters

Name Type Description
verifyPassword Boolean

When true the password must be conform to the password rules

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.

Source : file dialogs/passwordDialog/PasswordDialog.js at line 154

readonly get title : String

The dialog title. Overload of the BaseDialog.title property

Source : file dialogs/passwordDialog/PasswordDialog.js at line 161

Public methods

canClose ( )

Overload of the BaseDialog.canClose ( ) method.

Source : file dialogs/passwordDialog/PasswordDialog.js at line 101

Returns

True when the password is correct, false otherwise
Type : Boolean

createContentHTML ( )

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

Source : file dialogs/passwordDialog/PasswordDialog.js at line 82

onCancel ( )

Overload of the BaseDialog.onCancel ( ) method.

Source : file dialogs/passwordDialog/PasswordDialog.js at line 134

onOk ( )

Overload of the BaseDialog.onOk ( ) method.

Source : file dialogs/passwordDialog/PasswordDialog.js at line 143

show ( )

Overload of the ModalBaseDialog.show ( ) method.

Source : file dialogs/passwordDialog/PasswordDialog.js at line 90

Private properties

#passwordControl : PasswordControl

The password control

Source : file dialogs/passwordDialog/PasswordDialog.js at line 42

#verifyPassword : Boolean

The verifyPassword constructor parameter

Source : file dialogs/passwordDialog/PasswordDialog.js at line 49

Private getters and setters

readonly static get #PSWD_MIN_LENGTH : String

The minimal length for the password

Source : file dialogs/passwordDialog/PasswordDialog.js at line 57

Private methods

#destructor ( )

Remove event listeners

Source : file dialogs/passwordDialog/PasswordDialog.js at line 73