Uses of Interface
javax.swing.event.AncestorListener
Packages that use AncestorListener
Package
Description
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 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.