Uses of Class
java.awt.Event

Packages that useEvent
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.
  • Uses ofEvent injava.awt

    Fields injava.awt declared asEvent
    Modifier and Type
    Field
    Description
    Event.evt
    Deprecated.
    The next event.
    Methods injava.awt with parameters of typeEvent
    Modifier and Type
    Method
    Description
    boolean
    Component.action(Event evt,Object what)
    Deprecated.
    As of JDK version 1.1, should register this component as ActionListener on component which fires action events.
    void
    Component.deliverEvent(Event e)
    Deprecated.
    As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e).
    void
    Container.deliverEvent(Event e)
    Deprecated.
    As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e)
    boolean
    Component.gotFocus(Event evt,Object what)
    Deprecated.
    As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).
    boolean
    Component.handleEvent(Event evt)
    Deprecated.
    As of JDK version 1.1 replaced by processEvent(AWTEvent).
    boolean
    Component.keyDown(Event evt, int key)
    Deprecated.
    As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).
    boolean
    Component.keyUp(Event evt, int key)
    Deprecated.
    As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).
    boolean
    Component.lostFocus(Event evt,Object what)
    Deprecated.
    As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).
    boolean
    Component.mouseDown(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).
    boolean
    Component.mouseDrag(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).
    boolean
    Component.mouseEnter(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).
    boolean
    Component.mouseExit(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).
    boolean
    Component.mouseMove(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).
    boolean
    Component.mouseUp(Event evt, int x, int y)
    Deprecated.
    As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).
    boolean
    Component.postEvent(Event e)
    Deprecated.
    As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).
    boolean
    MenuComponent.postEvent(Event evt)
    Deprecated.
    As of JDK version 1.1, replaced bydispatchEvent.
    boolean
    MenuContainer.postEvent(Event evt)
    Deprecated.
    As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).
    boolean
    Window.postEvent(Event e)
    Deprecated.
    As of JDK version 1.1 replaced bydispatchEvent(AWTEvent).
    Constructors injava.awt with parameters of typeEvent
    Modifier
    Constructor
    Description
     
    AWTEvent(Event event)
    Deprecated.
    It is recommended thatAWTEvent(Object, int) be used instead