APIdia Launch Partner
Top Description Methods
java.awt.event

public Interface TextListener

extends EventListener
Known Direct Implementers
java.awt.AWTEventMulticaster, java.awt.TextComponent.AccessibleAWTTextComponent
Imports
java.util.EventListener

The listener interface for receiving text events. The class that is interested in processing a text event implements this interface. The object created with that class is then registered with a component using the component's addTextListener method. When the component's text changes, the listener object's textValueChanged method is invoked.
Author
Georges Saab
Since
1.1
See Also
TextEvent

Method Summary

Modifier and TypeMethod and Description
public void
textValueChanged(TextEvent
the event to be processed
e
)

Invoked when the value of the text has changed.

Method Detail

textValueChangedback to summary
public void textValueChanged(TextEvent e)

Invoked when the value of the text has changed. The code written for this method performs the operations that need to occur when text changes.

Parameters
e:TextEvent

the event to be processed