org.j4me.ui
Interface MenuItem


public interface MenuItem

Implementing classes can be used as menu choices in a Menu.


Method Summary
 java.lang.String getText()
           
 void onSelection()
          Called when the user selects this choice from the menu.
 

Method Detail

getText

java.lang.String getText()
Returns:
The text displayed by the menu.

onSelection

void onSelection()
Called when the user selects this choice from the menu.