MenuItem

Oracle. MenuItem

A menu item in an Oracle menu.

Constructor

Methods

getMenuSubItems() → {Promise.<Array.<MenuItem>>}

Returns a list of all submenus for the specified menu item.

Returns:

a promise that is fulfilled with the list of all submenus items.
Type
Promise.<Array.<MenuItem>>

isChecked() → {Promise.<boolean>}

Indicates whether this menu item is currently checked.

Returns:

a promise that is fulfilled with the indication of whether this menu item has a check mark displayed next to it.
Type
Promise.<boolean>

isDisabled() → {Promise.<boolean>}

Indicates whether this menu item is currently disabled.

Returns:

a promise that is fulfilled with the indication of whether this menu item is disabled.
Type
Promise.<boolean>

isEnabled() → {Promise.<boolean>}

Indicates whether this menu item is currently enabled.

Returns:

a promise that is fulfilled with the indication of whether this menu item is currently enabled.
Type
Promise.<boolean>

isShowing() → {Promise.<boolean>}

Indicates whether this menu item is currently showing.

Returns:

a promise that is fulfilled with the indication of whether this menu item is showing.
Type
Promise.<boolean>

isVisible() → {Promise.<boolean>}

Indicates whether this menu item is currently visible.

Returns:

a promise that is fulfilled with the indication of whether this menu item is visible.
Type
Promise.<boolean>