Objects that implement the ComponentListener interface can receive ComponentEvent objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners.
public abstract interface java.awt.event.ComponentListener extends java.util.EventListener { // Instance Methods public abstract void componentHidden (ComponentEvent e); public abstract void componentMoved (ComponentEvent e); public abstract void componentResized (ComponentEvent e); public abstract void componentShown (ComponentEvent e); }
The component event that occurred.
Notifies the ComponentListener that a component was hidden.
The component event that occurred.
Notifies the ComponentListener that a component was moved.
The component event that occurred.
Notifies the ComponentListener that a component was resized.
The component event that occurred.
Notifies the ComponentListener that a component was shown.
AWTEventMulticaster, ComponentAdapter, ComponentEvent, EventListener