java.awt.event
public interface ComponentListener extends EventListener
ComponentAdapter
,
ComponentEvent
Modifier and Type | Method and Description |
---|---|
void |
componentHidden(ComponentEvent event)
This method is called when the component is hidden.
|
void |
componentMoved(ComponentEvent event)
This method is called when the component is moved.
|
void |
componentResized(ComponentEvent event)
This method is called when the component is resized.
|
void |
componentShown(ComponentEvent event)
This method is called when the component is made visible.
|
void componentResized(ComponentEvent event)
event
- the ComponentEvent
indicating the resizevoid componentMoved(ComponentEvent event)
event
- the ComponentEvent
indicating the movevoid componentShown(ComponentEvent event)
event
- the ComponentEvent
indicating the visibilityvoid componentHidden(ComponentEvent event)
event
- the ComponentEvent
indicating the visibility