| 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  | AWTEventMulticasterAWTEventMulticasterimplements efficient and thread-safe multi-cast
 event dispatching for the AWT events defined in thejava.awt.eventpackage. | 
| protected class  | TextArea.AccessibleAWTTextAreaThis class implements accessibility support for the
  TextAreaclass. | 
| protected class  | TextComponent.AccessibleAWTTextComponentThis class implements accessibility support for the
  TextComponentclass. | 
| protected class  | TextField.AccessibleAWTTextFieldThis class implements accessibility support for the
  TextFieldclass. | 
| 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  lisnull, 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.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.