Class DockableBaseDialogMover extends BaseDialogMover

This class store the dialog position and expose methods to move and dock the dialog

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 33

Constructor

new DockableBaseDialogMover ( )

The constructor

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 64

Public getters and setters

readonly get dialogDocked : Boolean

A method to test if a dialog is docked. True when the dialog is docked

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 74

Public methods

centerDialog ( )

Center the dialog on the screen. Overload of the base class method.

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 80

moveDialogTo ( newDialogX, newDialogY, eventType )

Move the dialog on the screen

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 93

Parameters

Name Type Description
newDialogX Number

The new X position of the dialog in pixels

newDialogY Number

The new Y position of the dialog in pixels

eventType null or String

The type of the event that have triggered the call to the method

Private properties

#dialogDocked : Boolean

A flag to store the docked status of the dialog

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 40

Private methods

#dockDialog ( )

Dock the dialog on top f the screen when possible

Source : file dialogs/baseDialog/DockableBaseDialogMover.js at line 46