Menu.setMenuItems

Overview | Methods | This Package | All Packages

Menu.setMenuItems

Initializes this menu to contain the specified list of menu items.

Syntax

public void setMenuItems( MenuItem[] value )

Parameters

value

An array of MenuItem objects, in which each element in the array specifies an item to add to the menu.

Remarks

A call to this method replaces all of the menu's current items.