Class TestMenu

java.lang.Object
  extended by MIDlet
      extended by TestMenu
All Implemented Interfaces:
MenuListener

public class TestMenu
extends MIDlet
implements MenuListener

This class can be used to test the Menu and the MenuListener classes.

Author:
Michel Deriaz

Constructor Summary
TestMenu()
           
 
Method Summary
 void menuItemChoosen(int choice)
          This method is called each time a user selects an item in the menu.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMenu

public TestMenu()
Method Detail

menuItemChoosen

public void menuItemChoosen(int choice)
Description copied from interface: MenuListener
This method is called each time a user selects an item in the menu.

Specified by:
menuItemChoosen in interface MenuListener
Parameters:
choice - the index of the selected item in the items array.