| |
|
| java.awt.AWTEvent java.awt.event.ComponentEvent
All known Subclasses: java.awt.event.WindowEvent, java.awt.event.FocusEvent, java.awt.event.ContainerEvent, java.awt.event.InputEvent, java.awt.event.PaintEvent,
ComponentEvent | public class ComponentEvent extends AWTEvent (Code) | | 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 version: 1.20 08/19/02 author: Carl Quinn |
Field Summary | |
final public static int | COMPONENT_FIRST Marks the first integer id for the range of component event ids. | final public static int | COMPONENT_HIDDEN The component hidden event type. | final public static int | COMPONENT_LAST Marks the last integer id for the range of component event ids. | final public static int | COMPONENT_MOVED The component moved event type. | final public static int | COMPONENT_RESIZED The component resized event type. | final public static int | COMPONENT_SHOWN The component shown event type. |
Constructor Summary | |
public | ComponentEvent(Component source, int id) Constructs a ComponentEvent object with the specified source component
and type. |
COMPONENT_FIRST | final public static int COMPONENT_FIRST(Code) | | Marks the first integer id for the range of component event ids.
|
COMPONENT_HIDDEN | final public static int COMPONENT_HIDDEN(Code) | | The component hidden event type.
|
COMPONENT_LAST | final public static int COMPONENT_LAST(Code) | | Marks the last integer id for the range of component event ids.
|
COMPONENT_MOVED | final public static int COMPONENT_MOVED(Code) | | The component moved event type.
|
COMPONENT_RESIZED | final public static int COMPONENT_RESIZED(Code) | | The component resized event type.
|
COMPONENT_SHOWN | final public static int COMPONENT_SHOWN(Code) | | The component shown event type.
|
ComponentEvent | public ComponentEvent(Component source, int id)(Code) | | Constructs a ComponentEvent object with the specified source component
and type.
Parameters: source - the component where the event originated |
getComponent | public Component getComponent()(Code) | | Returns the component where this event originated.
|
|
|
|