|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMIDlet
TestMenu
public class TestMenu
This class can be used to test the Menu
and the
MenuListener
classes.
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 |
---|
public TestMenu()
Method Detail |
---|
public void menuItemChoosen(int choice)
MenuListener
menuItemChoosen
in interface MenuListener
choice
- the index of the selected item in the items
array.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |