BenQ Mobile

javax.microedition.lcdui
Interface ItemStateListener


public interface ItemStateListener

This interface is used by applications which need to receive events that indicate changes in the internal state of the interactive items within a Form screen.

See Also:
Form.setItemStateListener(ItemStateListener)

Method Summary
 void itemStateChanged(Item item)
          Called when internal state of an Item has been changed.
 

Method Detail

itemStateChanged

public void itemStateChanged(Item item)
Called when internal state of an Item has been changed. This happens when the user:

It is up to the device to decide when it considers a new value to have been entered into a TextField. Text editing varies greatly from device to device. It is not expected that the listener will be called after every character is entered. However, if this TextField's value has been changed, the listener will be called for this TextField's change sometime before it is called for another item or before a command is delivered to the Form's commandListener.

The listener is not called if the application - not the user - changes the value of an interactive item.

Parameters:
item - the item that was changed

BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.