MenuWidget

parasql.widget. MenuWidget

The MenuWidget class can render menus in several styles.

Extends

Methods

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

Inherited From:
Returns:

Returns an immutable string that uniquely identifies this widget.

Type
string

isDisabled() → {boolean}

Inherited From:
Returns:
Type
boolean

printWidget()

Causes this widget to print itself.

Description:
  • Causes this widget to print itself.

Inherited From:

redisplay()

Redisplays this widget.

Description:
  • Redisplays this widget.

Inherited From:

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.

showOptionWithPath(menuPath)

Show the menu option with the specified path.

Description:
  • Show the menu option with the specified path.

Parameters:
Name Type Description
menuPath string

One or more menu option names separated with the '/' character.

Throws:

If the menuPath specified is invalid.

Type
Error