站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

Uses of Class java.awt.Event (Java 2 Platform SE v1.4.1) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Class
java.awt.Event

Packages that use Event
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of Event in java.awt
 

Fields in java.awt declared as Event
 Event Event.evt
          The next event.
 

Methods in java.awt with parameters of type Event
 boolean Window.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 by dispatchEvent(AWTEvent).
 void Container.deliverEvent(Event e)
          Deprecated. As of JDK version 1.1, replaced by dispatchEvent(AWTEvent e)
 boolean MenuContainer.postEvent(Event evt)
          Deprecated. As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).
 void Component.deliverEvent(Event e)
          Deprecated. As of JDK version 1.1, replaced by dispatchEvent(AWTEvent e).
 boolean Component.postEvent(Event e)
          Deprecated. As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).
 boolean Component.handleEvent(Event evt)
          Deprecated. As of JDK version 1.1 replaced by processEvent(AWTEvent).
 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.mouseUp(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.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.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.action(Event evt, Object what)
          Deprecated. As of JDK version 1.1, should register this component as ActionListener on component which fires action events.
 boolean Component.gotFocus(Event evt, Object what)
          Deprecated. As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).
 boolean Component.lostFocus(Event evt, Object what)
          Deprecated. As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).
 

Constructors in java.awt with parameters of type Event
AWTEvent(Event event)
          Constructs an AWTEvent object from the parameters of a 1.0-style event.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.