ComponentListener

Name

ComponentListener

[Graphic: Figure from the text]

Description

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.

Interface Definition

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);
}

Interface Methods

componentHidden

public abstract void componentHidden (ComponentEvent e)

componentMoved

public abstract void componentMoved (ComponentEvent e)

componentResized

public abstract void componentResized (ComponentEvent e)

componentShown

public abstract void componentShown (ComponentEvent e)

See Also

AWTEventMulticaster, ComponentAdapter, ComponentEvent, EventListener