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.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
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 |
Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire
PropertyChange listener, if one is registered,
when children are added or removed. |
Modifier and Type | Field and Description |
---|---|
protected ContainerListener |
Container.AccessibleAWTContainer.accessibleContainerHandler |
Modifier and Type | Method and Description |
---|---|
static ContainerListener |
AWTEventMulticaster.add(ContainerListener a,
ContainerListener b)
Adds container-listener-a with container-listener-b and
returns the resulting multicast listener.
|
ContainerListener[] |
Container.getContainerListeners()
Returns an array of all the container listeners
registered on this container.
|
static ContainerListener |
AWTEventMulticaster.remove(ContainerListener l,
ContainerListener oldl)
Removes the old container-listener from container-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static ContainerListener |
AWTEventMulticaster.add(ContainerListener a,
ContainerListener b)
Adds container-listener-a with container-listener-b and
returns the resulting multicast listener.
|
void |
Container.addContainerListener(ContainerListener l)
Adds the specified container listener to receive container events
from this container.
|
static ContainerListener |
AWTEventMulticaster.remove(ContainerListener l,
ContainerListener oldl)
Removes the old container-listener from container-listener-l and
returns the resulting multicast listener.
|
void |
Container.removeContainerListener(ContainerListener l)
Removes the specified container listener so it no longer receives
container events from this container.
|
Modifier and Type | Class and Description |
---|---|
class |
ContainerAdapter
An abstract adapter class for receiving container events.
|
Modifier and Type | Class and Description |
---|---|
protected class |
JComponent.AccessibleJComponent.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered,
when children added/removed.
|
Modifier and Type | Class and Description |
---|---|
protected class |
BasicToolBarUI.ToolBarContListener |
Modifier and Type | Field and Description |
---|---|
protected ContainerListener |
BasicMenuBarUI.containerListener |
protected ContainerListener |
BasicToolBarUI.toolBarContListener |
Modifier and Type | Method and Description |
---|---|
protected ContainerListener |
BasicMenuBarUI.createContainerListener() |
protected ContainerListener |
BasicToolBarUI.createToolBarContListener() |
Modifier and Type | Class and Description |
---|---|
protected class |
MetalToolBarUI.MetalContainerListener |
Modifier and Type | Field and Description |
---|---|
protected ContainerListener |
MetalToolBarUI.contListener
This protected field is implementation specific.
|
Modifier and Type | Method and Description |
---|---|
protected ContainerListener |
MetalToolBarUI.createContainerListener()
Creates a container listener that will be added to the JToolBar.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.