java.awt.event
public class TextEvent extends AWTEvent
Since: 1.1
See Also: TextComponent TextListener
UNKNOWN: updated to 1.4
Field Summary | |
---|---|
static int | TEXT_FIRST This is the first id in the range of event ids used by this class. |
static int | TEXT_LAST This is the last id in the range of event ids used by this class. |
static int | TEXT_VALUE_CHANGED This event id indicates that the text of an object has changed. |
Constructor Summary | |
---|---|
TextEvent(Object source, int id)
Initializes a new instance of TextEvent with the specified
source and id. |
Method Summary | |
---|---|
String | paramString()
Returns a string identifying this event. |
TextEvent
with the specified
source and id. Note that an invalid id leads to unspecified results.
Parameters: source the (TextComponent) object that generated this event id the event id
Throws: IllegalArgumentException if source is null
Returns: a string identifying this event