Uses of Interface
javax.swing.event.AncestorListener
Packages that use AncestorListener
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of AncestorListener in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with parameters of type AncestorListenerModifier and TypeMethodDescriptionstatic voidSwingEventMonitor.addAncestorListener(AncestorListener l) Adds the specified listener to receive allANCESTORevents on each component instance in the Java Virtual Machine as they occur.static voidSwingEventMonitor.removeAncestorListener(AncestorListener l) Removes the specified listener so it no longer receivesANCESTORevents when they occur. -
Uses of AncestorListener in javax.swing
Methods in javax.swing that return AncestorListenerModifier and TypeMethodDescriptionJComponent.getAncestorListeners()Returns an array of all the ancestor listeners registered on this component.Methods in javax.swing with parameters of type AncestorListenerModifier and TypeMethodDescriptionvoidJComponent.addAncestorListener(AncestorListener listener) Registerslistenerso that it will receiveAncestorEventswhen it or any of its ancestors move or are made visible or invisible.voidJComponent.removeAncestorListener(AncestorListener listener) Unregisterslistenerso that it will no longer receiveAncestorEvents.