站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.event.ComponentEvent - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.event.ComponentEvent

Packages that use ComponentEvent
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
 

Uses of ComponentEvent in java.awt
 

Methods in java.awt with parameters of type ComponentEvent
protected  void Component.processComponentEvent(ComponentEvent e)
          Processes component events occurring on this component by dispatching them to any registered ComponentListener objects.
 void AWTEventMulticaster.componentResized(ComponentEvent e)
          Handles the componentResized event by invoking the componentResized methods on listener-a and listener-b.
 void AWTEventMulticaster.componentMoved(ComponentEvent e)
          Handles the componentMoved event by invoking the componentMoved methods on listener-a and listener-b.
 void AWTEventMulticaster.componentShown(ComponentEvent e)
          Handles the componentShown event by invoking the componentShown methods on listener-a and listener-b.
 void AWTEventMulticaster.componentHidden(ComponentEvent e)
          Handles the componentHidden event by invoking the componentHidden methods on listener-a and listener-b.
 

Uses of ComponentEvent in java.awt.event
 

Subclasses of ComponentEvent in java.awt.event
 class ContainerEvent
          A low-level event which indicates that a container's contents changed because a component was added or removed.
 class FocusEvent
          A low-level event which indicates that a component has gained or lost the keyboard focus.
 class InputEvent
          The root event class for all component-level input events.
 class KeyEvent
          An event which indicates that a keystroke occurred in a component.
 class MouseEvent
          /** An event which indicates that a mouse action occurred in a component.
 class PaintEvent
          The component-level paint event.
 class WindowEvent
          A low-level event which indicates that a window has changed its status.
 

Methods in java.awt.event with parameters of type ComponentEvent
 void ComponentListener.componentResized(ComponentEvent e)
          Invoked when the component's size changes.
 void ComponentListener.componentMoved(ComponentEvent e)
          Invoked when the component's position changes.
 void ComponentListener.componentShown(ComponentEvent e)
          Invoked when the component has been made visible.
 void ComponentListener.componentHidden(ComponentEvent e)
          Invoked when the component has been made invisible.
 void ComponentAdapter.componentResized(ComponentEvent e)
          Invoked when the component's size changes.
 void ComponentAdapter.componentMoved(ComponentEvent e)
          Invoked when the component's position changes.
 void ComponentAdapter.componentShown(ComponentEvent e)
          Invoked when the component has been made visible.
 void ComponentAdapter.componentHidden(ComponentEvent e)
          Invoked when the component has been made invisible.
 

Uses of ComponentEvent in javax.swing
 

Methods in javax.swing with parameters of type ComponentEvent
 void JViewport.ViewListener.componentResized(ComponentEvent e)
           
 

Uses of ComponentEvent in javax.swing.event
 

Subclasses of ComponentEvent in javax.swing.event
 class MenuDragMouseEvent
          MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.
 class MenuKeyEvent
          MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.
 

Uses of ComponentEvent in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic with parameters of type ComponentEvent
 void BasicSliderUI.ComponentHandler.componentResized(ComponentEvent e)
           
 void BasicTreeUI.ComponentHandler.componentMoved(ComponentEvent e)
           
 void BasicInternalFrameUI.ComponentHandler.componentResized(ComponentEvent e)
          Invoked when a JInternalFrame's parent's size changes.
 void BasicInternalFrameUI.ComponentHandler.componentMoved(ComponentEvent e)
           
 void BasicInternalFrameUI.ComponentHandler.componentShown(ComponentEvent e)
           
 void BasicInternalFrameUI.ComponentHandler.componentHidden(ComponentEvent e)
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.