Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
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 HierarchyBoundsListener |
AWTEventMulticaster.add(HierarchyBoundsListener a,
HierarchyBoundsListener b)
Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and
returns the resulting multicast listener.
|
HierarchyBoundsListener[] |
Component.getHierarchyBoundsListeners()
Returns an array of all the hierarchy bounds listeners
registered on this component.
|
static HierarchyBoundsListener |
AWTEventMulticaster.remove(HierarchyBoundsListener l,
HierarchyBoundsListener oldl)
Removes the old hierarchy-bounds-listener from
hierarchy-bounds-listener-l and returns the resulting multicast
listener.
|
Modifier and Type | Method and Description |
---|---|
static HierarchyBoundsListener |
AWTEventMulticaster.add(HierarchyBoundsListener a,
HierarchyBoundsListener b)
Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and
returns the resulting multicast listener.
|
void |
Component.addHierarchyBoundsListener(HierarchyBoundsListener l)
Adds the specified hierarchy bounds listener to receive hierarchy
bounds events from this component when the hierarchy to which this
container belongs changes.
|
static HierarchyBoundsListener |
AWTEventMulticaster.remove(HierarchyBoundsListener l,
HierarchyBoundsListener oldl)
Removes the old hierarchy-bounds-listener from
hierarchy-bounds-listener-l and returns the resulting multicast
listener.
|
void |
Component.removeHierarchyBoundsListener(HierarchyBoundsListener l)
Removes the specified hierarchy bounds listener so that it no longer
receives hierarchy bounds events from this component.
|
Modifier and Type | Class and Description |
---|---|
class |
HierarchyBoundsAdapter
An abstract adapter class for receiving ancestor moved and resized events.
|
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.