Package java.awt.event

Provides interfaces and classes for dealing with different types of events fired by AWT components.

See: Description

  • Interface Summary 
    Interface Description
    ActionListener
    The listener interface for receiving action events.
    AdjustmentListener
    The listener interface for receiving adjustment events.
    AWTEventListener
    The listener interface for receiving notification of events dispatched to objects that are instances of Component or MenuComponent or their subclasses.
    ComponentListener
    The listener interface for receiving component events.
    ContainerListener
    The listener interface for receiving container events.
    FocusListener
    The listener interface for receiving keyboard focus events on a component.
    HierarchyBoundsListener
    The listener interface for receiving ancestor moved and resized events.
    HierarchyListener
    The listener interface for receiving hierarchy changed events.
    InputMethodListener
    The listener interface for receiving input method events.
    ItemListener
    The listener interface for receiving item events.
    KeyListener
    The listener interface for receiving keyboard events (keystrokes).
    MouseListener
    The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component.
    MouseMotionListener
    The listener interface for receiving mouse motion events on a component.
    MouseWheelListener
    The listener interface for receiving mouse wheel events on a component.
    TextListener
    The listener interface for receiving text events.
    WindowFocusListener
    The listener interface for receiving WindowEvents, including WINDOW_GAINED_FOCUS and WINDOW_LOST_FOCUS events.
    WindowListener
    The listener interface for receiving window events.
    WindowStateListener
    The listener interface for receiving window state events.

      

  • Class Summary 
    Class Description
    ActionEvent
    A semantic event which indicates that a component-defined action occurred.
    AdjustmentEvent
    The adjustment event emitted by Adjustable objects like Scrollbar and ScrollPane.
    AWTEventListenerProxy
    A class which extends the EventListenerProxy specifically for adding an AWTEventListener for a specific event mask.
    ComponentAdapter
    An abstract adapter class for receiving component events.
    ComponentEvent
    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).
    ContainerAdapter
    An abstract adapter class for receiving container events.
    ContainerEvent
    A low-level event which indicates that a container's contents changed because a component was added or removed.
    FocusAdapter
    An abstract adapter class for receiving keyboard focus events.
    FocusEvent
    A low-level event which indicates that a Component has gained or lost the input focus.
    HierarchyBoundsAdapter
    An abstract adapter class for receiving ancestor moved and resized events.
    HierarchyEvent
    An event which indicates a change to the Component hierarchy to which Component belongs.
    InputEvent
    The root event class for all component-level input events.
    InputMethodEvent
    Input method events contain information about text that is being composed using an input method.
    InvocationEvent
    An event which executes the run() method on a Runnable when dispatched by the AWT event dispatcher thread.
    ItemEvent
    A semantic event which indicates that an item was selected or deselected.
    KeyAdapter
    An abstract adapter class for receiving keyboard events.
    KeyEvent
    An event which indicates that a keystroke occurred in a component.
    MouseAdapter
    An abstract adapter class for receiving mouse events.
    MouseEvent
    An event which indicates that a mouse action occurred in a component.
    MouseMotionAdapter
    An abstract adapter class for receiving mouse motion events.
    MouseWheelEvent
    An event which indicates that the mouse wheel was rotated in a component.
    PaintEvent
    The component-level paint event.
    TextEvent
    A semantic event which indicates that an object's text changed.
    WindowAdapter
    An abstract adapter class for receiving window events.
    WindowEvent
    A low-level event that indicates that a window has changed its status.

      

Package java.awt.event Description

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:
JDK1.1

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

22/12/2024 04:07:03 Cette version de la page est en cache (à la date du 22/12/2024 04:07:03) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.

Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/awt/event/package-summary.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, java.awt.event

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut