Uses of Class
java.util.EventObject
-
Packages that use EventObject Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.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 developing beans -- components based on the JavaBeans™ architecture.java.beans.beancontext Provides classes and interfaces relating to bean context.java.util.prefs This package allows applications to store and retrieve user and system preference and configuration data.javax.management Provides the core classes for the Java Management Extensions.javax.management.monitor Provides the definition of the monitor classes.javax.management.relation Provides the definition of the Relation Service.javax.management.remote Interfaces for remote access to JMX MBean servers.javax.management.timer Provides the definition of the Timer MBean.javax.naming.event Provides support for event notification when accessing naming and directory services.javax.naming.ldap Provides support for LDAPv3 extended operations and controls.javax.net.ssl Provides classes for the secure socket package.javax.print.event Package javax.print.event contains event classes and listener interfaces.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sql Provides the API for server side data source access and processing from the JavaTM programming language.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 classHTMLEditorKit
and supporting classes for creating HTML text editors.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree
. -
-
Uses of EventObject in java.awt
Subclasses of EventObject in java.awt Modifier and Type Class and Description class
AWTEvent
The root event class for all AWT events. -
Uses of EventObject in java.awt.datatransfer
Subclasses of EventObject in java.awt.datatransfer Modifier and Type Class and Description class
FlavorEvent
FlavorEvent
is used to notify interested parties that availableDataFlavor
s have changed in theClipboard
(the event source). -
Uses of EventObject in java.awt.dnd
Subclasses of EventObject in java.awt.dnd Modifier and Type Class and Description class
DragGestureEvent
ADragGestureEvent
is passed toDragGestureListener
's dragGestureRecognized() method when a particularDragGestureRecognizer
detects that a platform dependent drag initiating gesture has occurred on theComponent
that it is tracking.class
DragSourceDragEvent
TheDragSourceDragEvent
is delivered from theDragSourceContextPeer
, via theDragSourceContext
, to theDragSourceListener
registered with thatDragSourceContext
and with its associatedDragSource
.class
DragSourceDropEvent
TheDragSourceDropEvent
is delivered from theDragSourceContextPeer
, via theDragSourceContext
, to thedragDropEnd
method ofDragSourceListener
s registered with thatDragSourceContext
and with its associatedDragSource
.class
DragSourceEvent
This class is the base class forDragSourceDragEvent
andDragSourceDropEvent
.class
DropTargetDragEvent
TheDropTargetDragEvent
is delivered to aDropTargetListener
via its dragEnter() and dragOver() methods.class
DropTargetDropEvent
TheDropTargetDropEvent
is delivered via theDropTargetListener
drop() method.class
DropTargetEvent
TheDropTargetEvent
is the base class for both theDropTargetDragEvent
and theDropTargetDropEvent
. -
Uses of EventObject in java.awt.event
Subclasses of EventObject in java.awt.event Modifier and Type Class and Description class
ActionEvent
A semantic event which indicates that a component-defined action occurred.class
AdjustmentEvent
The adjustment event emitted by Adjustable objects likeScrollbar
andScrollPane
.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 input focus.class
HierarchyEvent
An event which indicates a change to theComponent
hierarchy to whichComponent
belongs.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 therun()
method on aRunnable
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
MouseWheelEvent
An event which indicates that the mouse wheel was rotated 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 that indicates that a window has changed its status. -
Uses of EventObject in java.beans
Subclasses of EventObject in java.beans Modifier and Type Class and Description class
IndexedPropertyChangeEvent
An "IndexedPropertyChange" event gets delivered whenever a component that conforms to the JavaBeans™ specification (a "bean") changes a bound indexed property.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 Modifier and Type Class and Description class
BeanContextEvent
BeanContextEvent
is the abstract root event class for all events emitted from, and pertaining to the semantics of, aBeanContext
.class
BeanContextMembershipEvent
ABeanContextMembershipEvent
encapsulates the list of children added to, or removed from, the membership of a particularBeanContext
.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 theBeanContextServiceRevokedListener
in order to identify the service being revoked. -
Uses of EventObject in java.util.prefs
Subclasses of EventObject in java.util.prefs Modifier and Type Class and Description class
NodeChangeEvent
An event emitted by a Preferences node to indicate that a child of that node has been added or removed.class
PreferenceChangeEvent
An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed. -
Uses of EventObject in javax.management
Subclasses of EventObject in javax.management Modifier and Type Class and Description class
AttributeChangeNotification
Provides definitions of the attribute change notifications sent by MBeans.class
MBeanServerNotification
Represents a notification emitted by the MBean Server through the MBeanServerDelegate MBean.class
Notification
The Notification class represents a notification emitted by an MBean. -
Uses of EventObject in javax.management.monitor
Subclasses of EventObject in javax.management.monitor Modifier and Type Class and Description class
MonitorNotification
Provides definitions of the notifications sent by monitor MBeans. -
Uses of EventObject in javax.management.relation
Subclasses of EventObject in javax.management.relation Modifier and Type Class and Description class
RelationNotification
A notification of a change in the Relation Service. -
Uses of EventObject in javax.management.remote
Subclasses of EventObject in javax.management.remote Modifier and Type Class and Description class
JMXConnectionNotification
Notification emitted when a client connection is opened or closed or when notifications are lost. -
Uses of EventObject in javax.management.timer
Subclasses of EventObject in javax.management.timer Modifier and Type Class and Description class
TimerNotification
This class provides definitions of the notifications sent by timer MBeans. -
Uses of EventObject in javax.naming.event
Subclasses of EventObject in javax.naming.event Modifier and Type Class and Description class
NamingEvent
This class represents an event fired by a naming/directory service.class
NamingExceptionEvent
This class represents an event fired when the procedures/processes used to collect information for notifying listeners of NamingEvents threw a NamingException. -
Uses of EventObject in javax.naming.ldap
Subclasses of EventObject in javax.naming.ldap Modifier and Type Class and Description class
UnsolicitedNotificationEvent
This class represents an event fired in response to an unsolicited notification sent by the LDAP server. -
Uses of EventObject in javax.net.ssl
Subclasses of EventObject in javax.net.ssl Modifier and Type Class and Description class
HandshakeCompletedEvent
This event indicates that an SSL handshake completed on a given SSL connection.class
SSLSessionBindingEvent
This event is propagated to a SSLSessionBindingListener. -
Uses of EventObject in javax.print.event
Subclasses of EventObject in javax.print.event Modifier and Type Class and Description class
PrintEvent
Class PrintEvent is the super class of all Print Service API events.class
PrintJobAttributeEvent
Class PrintJobAttributeEvent encapsulates an event a PrintService reports to let the client know that one or more printing attributes for a PrintJob have changed.class
PrintJobEvent
ClassPrintJobEvent
encapsulates common events a print job reports to let a listener know of progress in the processing of theDocPrintJob
.class
PrintServiceAttributeEvent
Class PrintServiceAttributeEvent encapsulates an event a Print Service instance reports to let the client know of changes in the print service state. -
Uses of EventObject in javax.sound.sampled
Subclasses of EventObject in javax.sound.sampled Modifier and Type Class and Description class
LineEvent
TheLineEvent
class encapsulates information that a line sends its listeners whenever the line opens, closes, starts, or stops. -
Uses of EventObject in javax.sql
Subclasses of EventObject in javax.sql Modifier and Type Class and Description class
ConnectionEvent
AnEvent
object that provides information about the source of a connection-related event.class
RowSetEvent
AnEvent
object generated when an event occurs to aRowSet
object.class
StatementEvent
AStatementEvent
is sent to allStatementEventListener
s which were registered with aPooledConnection
. -
Uses of EventObject in javax.swing
Methods in javax.swing with parameters of type EventObject Modifier and Type Method and Description boolean
JTable. editCellAt(int row, int column, EventObject e)
Programmatically starts editing the cell atrow
andcolumn
, if those indices are in the valid range, and the cell at those indices is editable.boolean
AbstractCellEditor. isCellEditable(EventObject e)
Returns true.boolean
DefaultCellEditor. isCellEditable(EventObject anEvent)
Forwards the message from theCellEditor
to thedelegate
.boolean
DefaultCellEditor.EditorDelegate. isCellEditable(EventObject anEvent)
Returns true ifanEvent
is not aMouseEvent
.boolean
CellEditor. isCellEditable(EventObject anEvent)
Asks the editor if it can start editing usinganEvent
.boolean
AbstractCellEditor. shouldSelectCell(EventObject anEvent)
Returns true.boolean
DefaultCellEditor. shouldSelectCell(EventObject anEvent)
Forwards the message from theCellEditor
to thedelegate
.boolean
DefaultCellEditor.EditorDelegate. shouldSelectCell(EventObject anEvent)
Returns true to indicate that the editing cell may be selected.boolean
CellEditor. shouldSelectCell(EventObject anEvent)
Returns true if the editing cell should be selected, false otherwise.boolean
DefaultCellEditor.EditorDelegate. startCellEditing(EventObject anEvent)
Returns true to indicate that editing has begun. -
Uses of EventObject in javax.swing.event
Subclasses of EventObject in javax.swing.event Modifier and Type Class and Description 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
AnAWTEvent
that adds support forJInternalFrame
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 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 eventclass
RowSorterEvent
RowSorterEvent
provides notification of changes to aRowSorter
.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 Modifier and Type Class and Description class
FormSubmitEvent
FormSubmitEvent is used to notify interested parties that a form was submitted.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 Modifier and Type Method and Description protected boolean
DefaultTreeCellEditor. canEditImmediately(EventObject event)
Returns true ifevent
isnull
, or it is aMouseEvent
with a click count > 2 andinHitRegion
returns true.boolean
DefaultTreeCellEditor. isCellEditable(EventObject event)
If therealEditor
returns true to this message,prepareForEditing
is messaged and true is returned.boolean
DefaultTreeCellEditor. shouldSelectCell(EventObject event)
Messages therealEditor
for the return value.protected boolean
DefaultTreeCellEditor. shouldStartEditingTimer(EventObject event)
Returns true ifevent
is aMouseEvent
and the click count is 1.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.