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. |
Modifier and Type | Method and Description |
---|---|
static HierarchyListener |
AWTEventMulticaster.add(HierarchyListener a,
HierarchyListener b)
Adds hierarchy-listener-a with hierarchy-listener-b and
returns the resulting multicast listener.
|
HierarchyListener[] |
Component.getHierarchyListeners()
Returns an array of all the hierarchy listeners
registered on this component.
|
static HierarchyListener |
AWTEventMulticaster.remove(HierarchyListener l,
HierarchyListener oldl)
Removes the old hierarchy-listener from hierarchy-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static HierarchyListener |
AWTEventMulticaster.add(HierarchyListener a,
HierarchyListener b)
Adds hierarchy-listener-a with hierarchy-listener-b and
returns the resulting multicast listener.
|
void |
Component.addHierarchyListener(HierarchyListener l)
Adds the specified hierarchy listener to receive hierarchy changed
events from this component when the hierarchy to which this container
belongs changes.
|
static HierarchyListener |
AWTEventMulticaster.remove(HierarchyListener l,
HierarchyListener oldl)
Removes the old hierarchy-listener from hierarchy-listener-l and
returns the resulting multicast listener.
|
void |
Component.removeHierarchyListener(HierarchyListener l)
Removes the specified hierarchy listener so that it no longer
receives hierarchy changed events from this component.
|
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.