public class Menu extends List
| Modifier and Type | Method and Description |
|---|---|
void |
setChoice(short choice)
Submit the user's choice from the menu.
|
getBottomText, getList, getSubTitleText, getTitleTextpublic final void setChoice(short choice)
throws CAException
choice - the number of the users choice. The first item in the
list corresponds to value 1. Value 0 means that the
user exited the menu without making a choice.InvalidSetException - raised if the application calls
this method with an invalid value or more than onceCAExceptionCopyright © 2012 code4tv.com. All Rights Reserved.