Java in a Nutshell

Previous Chapter 20
The java.awt.event Package
Next
 

20.27 java.awt.event.TextListener (JDK 1.1)

This interface defines the method that an object must implement to "listen" for text events on AWT components. When a TextEvent occurs, an AWT component notifies its registered TextListener objects by invoking their textValueChanged() methods.

public abstract interface TextListener extends EventListener {
    // Public Instance Methods
            public abstract void textValueChanged(TextEvent e);
}

Implemented By:

AWTEventMulticaster

Passed To:

AWTEventMulticaster.add(), AWTEventMulticaster.remove(), TextComponent.addTextListener(), TextComponent.removeTextListener()

Returned By:

AWTEventMulticaster.add(), AWTEventMulticaster.remove()

Type Of:

TextComponent.textListener


Previous Home Next
java.awt.event.TextEvent (JDK 1.1) Book Index java.awt.event.WindowAdapter (JDK 1.1)

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