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

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.AWTEvent - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.AWTEvent

Packages that use AWTEvent
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.im Provides classes and an interface for the input method framework. 
javax.swing.event Provides for events fired by Swing components. 
 

Uses of AWTEvent in java.awt
 

Methods in java.awt that return AWTEvent
protected  AWTEvent Component.coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)
          Potentially coalesce an event being posted with an existing event.
 AWTEvent EventQueue.getNextEvent()
          Remove an event from the EventQueue and return it.
 AWTEvent EventQueue.peekEvent()
          Return the first event on the EventQueue without removing it.
 AWTEvent EventQueue.peekEvent(int id)
          Return the first event with the specified id, if any.
 

Methods in java.awt with parameters of type AWTEvent
 void Component.dispatchEvent(AWTEvent e)
          Dispatches an event to this component or one of its sub components.
protected  AWTEvent Component.coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)
          Potentially coalesce an event being posted with an existing event.
protected  void Component.processEvent(AWTEvent e)
          Processes events occurring on this component.
protected  void Container.processEvent(AWTEvent e)
          Processes events on this container.
 void MenuComponent.dispatchEvent(AWTEvent e)
           
protected  void MenuComponent.processEvent(AWTEvent e)
          Processes events occurring on this menu component.
protected  void TextComponent.processEvent(AWTEvent e)
          Processes events on this text component.
protected  void Checkbox.processEvent(AWTEvent e)
          Processes events on this check box.
protected  void Scrollbar.processEvent(AWTEvent e)
          Processes events on this scroll bar.
protected  void Choice.processEvent(AWTEvent e)
          Processes events on this choice.
protected  void Window.processEvent(AWTEvent e)
          Processes events on this window.
protected  void MenuItem.processEvent(AWTEvent e)
          Processes events on this menu item.
protected  void CheckboxMenuItem.processEvent(AWTEvent e)
          Processes events on this check box menu item.
protected  void Button.processEvent(AWTEvent e)
          Processes events on this button.
protected  void TextField.processEvent(AWTEvent e)
          Processes events on this text field.
 void EventQueue.postEvent(AWTEvent theEvent)
          Post a 1.1-style event to the EventQueue.
protected  void EventQueue.dispatchEvent(AWTEvent event)
          Dispatch an event.
protected  void List.processEvent(AWTEvent e)
          Processes events on this scrolling list.
 

Uses of AWTEvent in java.awt.event
 

Subclasses of AWTEvent in java.awt.event
 class ActionEvent
          A semantic event which indicates that a component-defined action occured.
 class AdjustmentEvent
          The adjustment event emitted by Adjustable objects.
 class 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).
 class ContainerEvent
          A low-level event which indicates that a container's contents changed because a component was added or removed.
 class FocusEvent
          A low-level event which indicates that a component has gained or lost the keyboard focus.
 class InputEvent
          The root event class for all component-level input events.
 class InputMethodEvent
          Input method events contain information about text that is being composed using an input method.
 class InvocationEvent
          An event which executes the run() method on a Runnable when dispatched by the AWT event dispatcher thread.
 class ItemEvent
          A semantic event which indicates that an item was selected or deselected.
 class KeyEvent
          An event which indicates that a keystroke occurred in a component.
 class MouseEvent
          /** An event which indicates that a mouse action occurred in a component.
 class PaintEvent
          The component-level paint event.
 class TextEvent
          A semantic event which indicates that an object's text changed.
 class WindowEvent
          A low-level event which indicates that a window has changed its status.
 

Methods in java.awt.event with parameters of type AWTEvent
 void AWTEventListener.eventDispatched(AWTEvent event)
          Invoked when an event is dispatched in the AWT.
 

Uses of AWTEvent in java.awt.im
 

Methods in java.awt.im with parameters of type AWTEvent
 void InputContext.dispatchEvent(AWTEvent event)
          Dispatches an event to the active input method.
 

Uses of AWTEvent in javax.swing.event
 

Subclasses of AWTEvent in javax.swing.event
 class AncestorEvent
          An event reported to a child component that originated from an ancestor in the component hierarchy.
 class InternalFrameEvent
          InternalFrameEvent: an AWTEvent which adds support for JInternalFrame objects as the event source.
 class MenuDragMouseEvent
          MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.
 class MenuKeyEvent
          MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.