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

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

JavaTM 2 Platform
Standard Edition

Uses of Class
java.util.EventObject

Packages that use EventObject
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.beans Contains classes related to Java Beans development. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.tree Provides classes and interfaces for dealing with java.awt.swing.JTree. 
 

Uses of EventObject in java.awt
 

Subclasses of EventObject in java.awt
 class AWTEvent
          The root event class for all AWT events.
 

Uses of EventObject in java.awt.dnd
 

Subclasses of EventObject in java.awt.dnd
 class DragGestureEvent
          A DragGestureEvent is passed to DragGestureListener's dragGestureRecognized() method when a particular DragGestureRecognizer detects that a platform dependent drag initiating gesture has occurred on the Component that it is tracking.
 class DragSourceDragEvent
          The DragSourceDragEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to the currently registered DragSourceListener.
 class DragSourceDropEvent
          The DragSourceDropEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to its currently registered DragSourceListener's dragDropEnd() method.
 class DragSourceEvent
          This class is the base class for DragSourceDragEvent and DragSourceDropEvent.
 class DropTargetDragEvent
          The DropTargetDragEvent is delivered to a DropTargetListener via its dragEnter() and dragOver() methods.
 class DropTargetDropEvent
          The DropTargetDropEvent is delivered via the DropTargetListener drop() method.
 class DropTargetEvent
          The DropTargetEvent is the base class for both the DropTargetDragEvent and the DropTargetDropEvent.
 

Uses of EventObject in java.awt.event
 

Subclasses of EventObject 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.
 

Uses of EventObject in java.beans
 

Subclasses of EventObject in java.beans
 class PropertyChangeEvent
          A "PropertyChange" event gets delivered whenever a bean changes a "bound" or "constrained" property.
 

Uses of EventObject in java.beans.beancontext
 

Subclasses of EventObject in java.beans.beancontext
 class BeanContextEvent
           BeanContextEvent is the abstract root event class for all events emitted from, and pertaining to the semantics of, a BeanContext.
 class BeanContextMembershipEvent
           Compliant BeanContexts fire events on this interface when state maintained by the BeanContext, for some or all of its "children", changes, to all BeanContextListeners that register themselves with a particular BeanContext.
 class BeanContextServiceAvailableEvent
           This event type is used by the BeanContextServicesListener in order to identify the service being registered.
 class BeanContextServiceRevokedEvent
           This event type is used by the BeanContextServicesListener in order to identify the service being revoked.
 

Uses of EventObject in javax.swing
 

Methods in javax.swing with parameters of type EventObject
 boolean CellEditor.isCellEditable(EventObject anEvent)
          Ask the editor if it can start editing using anEvent.
 boolean CellEditor.shouldSelectCell(EventObject anEvent)
          Tell the editor to start editing using anEvent.
 boolean DefaultCellEditor.isCellEditable(EventObject anEvent)
           
 boolean DefaultCellEditor.shouldSelectCell(EventObject anEvent)
           
 boolean DefaultCellEditor.EditorDelegate.isCellEditable(EventObject anEvent)
          Not implemented.
 boolean DefaultCellEditor.EditorDelegate.startCellEditing(EventObject anEvent)
          Not implemented.
 boolean JTable.editCellAt(int row, int column, EventObject e)
          Programmatically starts editing the cell at row and column, if the cell is editable.
 

Uses of EventObject in javax.swing.event
 

Subclasses of EventObject in javax.swing.event
 class AncestorEvent
          An event reported to a child component that originated from an ancestor in the component hierarchy.
 class CaretEvent
          CaretEvent is used to notify interested parties that the text caret has changed in the event source.
 class ChangeEvent
          ChangeEvent is used to notify interested parties that state has changed in the event source.
 class HyperlinkEvent
          HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.
 class InternalFrameEvent
          InternalFrameEvent: an AWTEvent which adds support for JInternalFrame objects as the event source.
 class ListDataEvent
          Defines an event that encapsulates changes to a list.
 class ListSelectionEvent
          An event that characterizes a change in the current selection.
 class MenuDragMouseEvent
          MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.
 class MenuEvent
          MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.
 class MenuKeyEvent
          MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.
 class PopupMenuEvent
          PopupMenuEvent only contains the source of the event which is the JPoupMenu sending the event
 class TableColumnModelEvent
          TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.
 class TableModelEvent
          TableModelEvent is used to notify listeners that a table model has changed.
 class TreeExpansionEvent
          An event used to identify a single path in a tree.
 class TreeModelEvent
          Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.
 class TreeSelectionEvent
          An event that characterizes a change in the current selection.
 class UndoableEditEvent
          An event indicating that an operation which can be undone has occurred.
 

Uses of EventObject in javax.swing.text.html
 

Subclasses of EventObject in javax.swing.text.html
 class HTMLFrameHyperlinkEvent
          HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.
 

Uses of EventObject in javax.swing.tree
 

Methods in javax.swing.tree with parameters of type EventObject
 boolean DefaultTreeCellEditor.isCellEditable(EventObject event)
          If the realEditor returns true to this message, prepareForEditing is messaged and true is returned.
 boolean DefaultTreeCellEditor.shouldSelectCell(EventObject event)
          Messages the realEditor for the return value.
protected  boolean DefaultTreeCellEditor.shouldStartEditingTimer(EventObject event)
          Returns true if event is a MouseEvent and the click count is 1.
protected  boolean DefaultTreeCellEditor.canEditImmediately(EventObject event)
          Returns true if event is null, or it is a MouseEvent with a click count > 2 and inHitRegion returns true.
 


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.