ModalContainer

parasql.widget. ModalContainer

Each modal panel in your application has a single ModalContainer instance. The methods of this ModalContainer are used to show and hide the panel as a whole.

Extends

Methods

getWidgetId() → (non-null) {string}

Inherited From:
Returns:

Returns an immutable string that uniquely identifies this widget.

Type
string

hide()

Causes the modal panel to hide itself.

Description:
  • Causes the modal panel to hide itself.

hideIfNotDirty()

Causes the modal panel to hide itself if it does not contain any unsaved changes.

Description:
  • Causes the modal panel to hide itself if it does not contain any unsaved changes.

isDisabled() → {boolean}

Inherited From:
Returns:
Type
boolean

isVisible() → {boolean}

Overrides:
  • parasql.widget.ContainerWidget#isVisible
Returns:

Returns true if this modal panel is currently visible, otherwise false.

Type
boolean

printWidget()

Causes this widget to print itself.

Description:
  • Causes this widget to print itself.

Inherited From:

redisplay()

IMPORTANT: Overridden because the redisplay message during a print comes via the masterLayout; the ModalContainerPanel itself needs adjustments but does not get a redisplay during print.

Description:
  • IMPORTANT: Overridden because the redisplay message during a print comes via the masterLayout; the ModalContainerPanel itself needs adjustments but does not get a redisplay during print.

Since:
  • v127
Overrides:

setDisabled(flag)

WARNING: Subclasses overriding this method must not trigger a redisplay (causes an infinite loop).

Description:
  • WARNING: Subclasses overriding this method must not trigger a redisplay (causes an infinite loop).

Inherited From:
Parameters:
Name Type Description
flag boolean

If true, this widget will be rendered as disabled.

show()

Causes the modal panel to display itself.

Description:
  • Causes the modal panel to display itself.