Menu.getMenuItem

Overview | Methods | This Package | All Packages

Menu.getMenuItem

Retrieves the menu item at the specified index.

Syntax

public MenuItem getMenuItem( int index )

Parameters

index

The index of the menu item to retrieve.

Return Value

Returns a MenuItem object that specifies the requested item.

Exceptions

WFCInvalidArgumentException thrown if the value specified by the index parameter is out of range.