Retrieves the items in this menu.
public MenuItem[] getMenuItems()
Returns an array of MenuItem objects, in which each member of the array specifies one of the items in the menu.