Module java.desktop

Package java.awt.event


package java.awt.event
Provides interfaces and classes for dealing with different types of events fired by AWT components. See the java.awt.AWTEvent class for details on the AWT event model. Events are fired by event sources. An event listener registers with an event source to receive notifications about the events of a particular type. This package defines events and event listeners, as well as event listener adapters, which are convenience classes to make easier the process of writing event listeners.
Since:
1.1
  • Interface Summary
    Interface
    Description
    The listener interface for receiving action events.
    The listener interface for receiving adjustment events.
    The listener interface for receiving notification of events dispatched to objects that are instances of Component or MenuComponent or their subclasses.
    The listener interface for receiving component events.
    The listener interface for receiving container events.
    The listener interface for receiving keyboard focus events on a component.
    The listener interface for receiving ancestor moved and resized events.
    The listener interface for receiving hierarchy changed events.
    The listener interface for receiving input method events.
    The listener interface for receiving item events.
    The listener interface for receiving keyboard events (keystrokes).
    The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component.
    The listener interface for receiving mouse motion events on a component.
    The listener interface for receiving mouse wheel events on a component.
    The listener interface for receiving text events.
    The listener interface for receiving WindowEvents, including WINDOW_GAINED_FOCUS and WINDOW_LOST_FOCUS events.
    The listener interface for receiving window events.
    The listener interface for receiving window state events.
  • Class Summary
    Class
    Description
    A semantic event which indicates that a component-defined action occurred.
    The adjustment event emitted by Adjustable objects like Scrollbar and ScrollPane.
    A class which extends the EventListenerProxy specifically for adding an AWTEventListener for a specific event mask.
    An abstract adapter class for receiving component events.
    A low-level event which indicates that a component moved, changed size, or changed visibility (also, the root class for the other component-level events).
    An abstract adapter class for receiving container events.
    A low-level event which indicates that a container's contents changed because a component was added or removed.
    An abstract adapter class for receiving keyboard focus events.
    A low-level event which indicates that a Component has gained or lost the input focus.
    An abstract adapter class for receiving ancestor moved and resized events.
    An event which indicates a change to the Component hierarchy to which Component belongs.
    The root event class for all component-level input events.
    Input method events contain information about text that is being composed using an input method.
    An event which executes the run() method on a Runnable when dispatched by the AWT event dispatcher thread.
    A semantic event which indicates that an item was selected or deselected.
    An abstract adapter class for receiving keyboard events.
    An event which indicates that a keystroke occurred in a component.
    An abstract adapter class for receiving mouse events.
    An event which indicates that a mouse action occurred in a component.
    An abstract adapter class for receiving mouse motion events.
    An event which indicates that the mouse wheel was rotated in a component.
    The component-level paint event.
    A semantic event which indicates that an object's text changed.
    An abstract adapter class for receiving window events.
    A low-level event that indicates that a window has changed its status.
  • Enum Class Summary
    Enum Class
    Description
    This enum represents the cause of a FocusEvent- the reason why it occurred.