Instance Method

getDocument

Retrieves the document associated with the specified menu item.

Declaration

Document getDocument(in Element menuItem);

Parameters

menuItem

The menu item currently in focus.

Return Value

The TVML page associated with the selected menu item.

See Also

Setting and Retrieving Menu Item Documents

getSelectedItem

Retrieves the menu item in the menu bar that is currently in focus.

setDocument

Associates a document with a menu item.

setSelectedItem

Sets the focus in a menu bar to the specified menu item.