Menu

Overview

The Menu object is a reusable design-time entity that represents a list of menu items. It can be utilized across various components and services, promoting consistency in menu design.

Functionality

The Menu object includes several key properties. The comment property allows adding programmer notes or other descriptive information about the menu's purpose. The encapsulation property defines the menu's visibility, with options such as "Public" (accessible across modules) or "Module Scope" (restricted to the same module). The name property serves as the unique identifier for the menu. Additionally, the styleClass property allows associating CSS classes for styling purposes.

Properties Summarized

Type
Name
Summary

Additional information, such as programmer notes about this model object's purpose.

The encapsulation mode of this Menu.

The name/identifier of the menu.

Properties Detailed

comment

Additional information, such as programmer notes about this model object's purpose.

Type String

encapsulation

The encapsulation mode of this Menu. The following can be used:

- Public (available in both scripting and designer from any module) - Module Scope - available in both scripting and designer but only in the same module.

Type Number the encapsulation mode/level of the persist.

name

The name/identifier of the menu.

Type String

styleClass

Type String


Last updated