Text events are generated by text components when their contents change, either programmatically or by a user typing.
public class java.awt.event.TextEvent extends java.awt.AWTEvent { // Constants public final static int TEXT_FIRST; public final static int TEXT_LAST; public final static int TEXT_VALUE_CHANGED; // Constructors public TextEvent (Object source, int id); // Instance Methods public String paramString(); }
Specifies the beginning range of text event ID values.
Specifies the ending range of text event ID values.
The only text event type; it indicates that the contents of something have changed.
The object that generated the event.
The type ID of the event.
Constructs a TextEvent with the given characteristics.
String with current settings of the TextEvent.
AWTEvent.paramString()
Helper method for toString() to generate string of current settings.
AWTEvent, TextListener