Java AWT

Previous Chapter 21
java.awt.event Reference
Next
 

TextListener (New)

Name

TextListener (New)

[Graphic: Figure from the text]

Description

Objects that implement the TextListener interface can receive TextEvent objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners.

Interface Definition

public abstract interface java.awt.event.TextListener
   extends java.util.EventListener {
  // Interface Methods
  public abstract void textValueChanged (TextEvent e);
}

Interface Methods

textValueChanged

public abstract void textValueChanged (TextEvent e)

Parameters

e

The text event that occurred.

Description

Notifies the TextListener that an event occurred.

See Also

AWTEventMulticaster, EventListener, TextEvent


Previous Home Next
TextEvent (New) Book Index WindowAdapter (New)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java