MenuControl.getSelected

The item name of the currently selected menu item or null if no menu item is selected. This can be used to determine which menu item has been clicked.

Further documentation.

returns java.lang.String