站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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.


Method Index

 o componentHidden(ComponentEvent)
Invoked when component has been hidden.
 o componentMoved(ComponentEvent)
Invoked when component has been moved.
 o componentResized(ComponentEvent)
Invoked when component has been resized.
 o componentShown(ComponentEvent)
Invoked when component has been shown.

Methods

 o componentResized
 public abstract void componentResized(ComponentEvent e)
Invoked when component has been resized.

 o componentMoved
 public abstract void componentMoved(ComponentEvent e)
Invoked when component has been moved.

 o componentShown
 public abstract void componentShown(ComponentEvent e)
Invoked when component has been shown.

 o 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.