All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.awt.event.ComponentEvent
java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----java.awt.event.ComponentEvent
  -  public class ComponentEvent
  -  extends AWTEvent
The root event class for all component-level events.
 These 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 is receiving these events or not.
    -  See Also:
    
-  ComponentListener
   
  -   COMPONENT_FIRST COMPONENT_FIRST
-   Marks the first integer id for the range of component event ids.
  
-   COMPONENT_HIDDEN COMPONENT_HIDDEN
-   The component hidden event type.
  
-   COMPONENT_LAST COMPONENT_LAST
-   Marks the last integer id for the range of component event ids.
  
-   COMPONENT_MOVED COMPONENT_MOVED
-   The component moved event type.
  
-   COMPONENT_RESIZED COMPONENT_RESIZED
-   The component resized event type.
  
-   COMPONENT_SHOWN COMPONENT_SHOWN
-   The component shown event type.
   
  -   ComponentEvent(Component, int) ComponentEvent(Component, int)
-   Constructs a ComponentEvent object with the specified source component 
 and type.
   
  -   getComponent() getComponent()
-   Returns the component where this event originated.
  
-   paramString() paramString()
-  
   
 COMPONENT_FIRST
COMPONENT_FIRST
 public static final int COMPONENT_FIRST
  -  Marks the first integer id for the range of component event ids.
 
 COMPONENT_LAST
COMPONENT_LAST
 public static final int COMPONENT_LAST
  -  Marks the last integer id for the range of component event ids.
 
 COMPONENT_MOVED
COMPONENT_MOVED
 public static final int COMPONENT_MOVED
  -  The component moved event type.
 
 COMPONENT_RESIZED
COMPONENT_RESIZED
 public static final int COMPONENT_RESIZED
  -  The component resized event type.
 
 COMPONENT_SHOWN
COMPONENT_SHOWN
 public static final int COMPONENT_SHOWN
  -  The component shown event type.
 
 COMPONENT_HIDDEN
COMPONENT_HIDDEN
 public static final int COMPONENT_HIDDEN
  -  The component hidden event type.
 
   
 ComponentEvent
ComponentEvent
 public ComponentEvent(Component source,
                       int id)
  -  Constructs a ComponentEvent object with the specified source component 
 and type.
   
- 
    -  Parameters:
    
-  source - the component where the event originated
  
 
   
 getComponent
getComponent
 public Component getComponent()
  -  Returns the component where this event originated.
 
 paramString
paramString
 public String paramString()
  - 
    -  Overrides:
    
-  paramString in class AWTEvent
  
 
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.