org.davic.net.ca
Class Menu

java.lang.Object
  extended byorg.davic.net.ca.MMIObject
      extended byorg.davic.net.ca.List
          extended byorg.davic.net.ca.Menu

public class Menu
extends List

Class representing a Menu MMI.


Method Summary
 void setChoice(short choice)
          Submit the user's choice from the menu.
 
Methods inherited from class org.davic.net.ca.List
getBottomText, getList, getSubTitleText, getTitleText
 
Methods inherited from class org.davic.net.ca.MMIObject
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setChoice

public final void setChoice(short choice)
                     throws CAException
Submit the user's choice from the menu.

Parameters:
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.
Throws:
InvalidSetException - raised if the application calls this method with an invalid value or more than once
CAException