Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
Modifier and Type | Class | 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 | Description |
---|---|---|
protected TextListener |
TextComponent.textListener |
A list of listeners that will receive events from this object.
|
Modifier and Type | Method | Description |
---|---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a,
TextListener b) |
Adds text-listener-a with text-listener-b and
returns the resulting multicast listener.
|
TextListener[] |
TextComponent.getTextListeners() |
Returns an array of all the text listeners
registered on this text component.
|
static TextListener |
AWTEventMulticaster.remove(TextListener l,
TextListener oldl) |
Removes the old text-listener from text-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method | Description |
---|---|---|
static TextListener |
AWTEventMulticaster.add(TextListener a,
TextListener b) |
Adds text-listener-a with text-listener-b and
returns the resulting multicast listener.
|
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) |
Removes the old text-listener from text-listener-l and
returns the resulting multicast listener.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps