Name

javax.microedition.lcdui.ItemStateListener

Synopsis

This interface is implemented by MIDlets that need to receive events that indicate changes in the internal state of the interactive items within a Form screen. The itemStateChanged( ) method is called when the internal state of an item has been changed by the user. This happens when the user changes the set of selected values in a ChoiceGroup, adjusts the value of an interactive Gauge, enters or modifies the value in a TextField, or enters a new date or time in a DateField.

public interfaceItemStateListener {
   // public static methods
   public void itemStateChanged(Item item);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.