当前页面:
在线文档首页 >
JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
Interface java.awt.event.ComponentListener - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.event.ComponentListener
- public interface ComponentListener
- extends EventListener
The listener interface for receiving component events.
Component events are provided for notification purposes ONLY;
The AWT will automatically handle component moves and resizes
internally so that GUI layout works properly regardless of
whether a program registers a ComponentListener or not.
-
componentHidden(ComponentEvent)
- Invoked when component has been hidden.
-
componentMoved(ComponentEvent)
- Invoked when component has been moved.
-
componentResized(ComponentEvent)
- Invoked when component has been resized.
-
componentShown(ComponentEvent)
- Invoked when component has been shown.
componentResized
public abstract void componentResized(ComponentEvent e)
- Invoked when component has been resized.
componentMoved
public abstract void componentMoved(ComponentEvent e)
- Invoked when component has been moved.
componentShown
public abstract void componentShown(ComponentEvent e)
- Invoked when component has been shown.
componentHidden
public abstract void componentHidden(ComponentEvent e)
- Invoked when component has been hidden.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.