软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
Event |
Event.evt
下一个事件。
|
Modifier and Type | Method and Description |
---|---|
boolean |
Component.action(Event evt, Object what)
过时的。
作为JDK 1.1版本,应登记该组件在组件的火灾行为的功能。
|
void |
Container.deliverEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent(AWTEvent e)
|
void |
Component.deliverEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent(AWTEvent e) 。
|
boolean |
Component.gotFocus(Event evt, Object what)
过时的。
作为JDK 1.1版本,取而代之的processfocusevent(键盘)。
|
boolean |
Component.handleEvent(Event evt)
过时的。
作为JDK版本1.1取代processEvent(awtevent)。
|
boolean |
Component.keyDown(Event evt, int key)
过时的。
作为JDK版本1.1(keyEvent),取而代之的processkeyevent。
|
boolean |
Component.keyUp(Event evt, int key)
过时的。
作为JDK版本1.1(keyEvent),取而代之的processkeyevent。
|
boolean |
Component.lostFocus(Event evt, Object what)
过时的。
作为JDK 1.1版本,取而代之的processfocusevent(键盘)。
|
boolean |
Component.mouseDown(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseDrag(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmousemotionevent(译文)。
|
boolean |
Component.mouseEnter(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseExit(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
Component.mouseMove(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmousemotionevent(译文)。
|
boolean |
Component.mouseUp(Event evt, int x, int y)
过时的。
作为JDK 1.1版本,取而代之的processmouseevent(译文)。
|
boolean |
MenuContainer.postEvent(Event evt)
过时的。
作为JDK版本1.1被dispatchevent(awtevent)。
|
boolean |
Window.postEvent(Event e)
过时的。
作为JDK版本1.1被
dispatchEvent(AWTEvent) 。
|
boolean |
MenuComponent.postEvent(Event evt)
过时的。
作为JDK 1.1版本,取而代之的
dispatchEvent 。
|
boolean |
Component.postEvent(Event e)
过时的。
作为JDK 1.1版本,取而代之的dispatchevent(awtevent)。
|
Constructor and Description |
---|
AWTEvent(Event event)
构建了从一个1.0-style事件参数对象awtevent。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.