Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
protected class |
TextArea.AccessibleAWTTextArea
This class implements accessibility support for the
TextArea class. |
protected class |
TextComponent.AccessibleAWTTextComponent
This class implements accessibility support for the
TextComponent class. |
protected class |
TextField.AccessibleAWTTextField
This class implements accessibility support for the
TextField class. |
Modifier and Type | Field and Description |
---|---|
protected TextListener |
TextComponent.textListener |
Modifier and Type | Method and Description |
---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a,
TextListener b) |
TextListener[] |
TextComponent.getTextListeners()
Returns an array of all the text listeners
registered on this text component.
|
static TextListener |
AWTEventMulticaster.remove(TextListener l,
TextListener oldl) |
Modifier and Type | Method and Description |
---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a,
TextListener b) |
void |
TextComponent.addTextListener(TextListener l)
Adds the specified text event listener to receive text events
from this text component.
|
static TextListener |
AWTEventMulticaster.remove(TextListener l,
TextListener oldl) |
void |
TextComponent.removeTextListener(TextListener l)
Removes the specified text event listener so that it no longer
receives text events from this text component
If
l is null , no exception is
thrown and no action is performed. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.