AbstractWidget

parasql.widget. AbstractWidget

The AbstractWidget class is the root class for all widgets.

Extends

  • Object

Methods

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

Returns:

Returns an immutable string that uniquely identifies this widget.

Type
string

isDisabled() → {boolean}

Returns:
Type
boolean

printWidget()

Causes this widget to print itself.

Description:
  • Causes this widget to print itself.

redisplay()

Redisplays this widget.

Description:
  • Redisplays this widget.

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).

Parameters:
Name Type Description
flag boolean

If true, this widget will be rendered as disabled.