This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.util
class EventObject
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AWTEvent, BeanContextEvent, CaretEvent, ChangeEvent, ConnectionEvent, DragGestureEvent, DragSourceEvent, DropTargetEvent, FlavorEvent, HandshakeCompletedEvent, HyperlinkEvent, LineEvent, ListDataEvent, ListSelectionEvent, MenuEvent, NamingEvent, NamingExceptionEvent, NodeChangeEvent, Notification, PopupMenuEvent, PreferenceChangeEvent, PrintEvent, PropertyChangeEvent, RowSetEvent, RowSorterEvent, SSLSessionBindingEvent, StatementEvent, TableColumnModelEvent, TableModelEvent, TreeExpansionEvent, TreeModelEvent, TreeSelectionEvent, UndoableEditEvent, UnsolicitedNotificationEvent
public class EventObject
extends Object
implements Serializable
The root class from which all event state objects shall be derived.
All Events are constructed with a reference to the object, the "source",
that is logically deemed to be the object upon which the Event in question
initially occurred upon.
Field Summary |
protected transient Object |
source
The object on which the Event initially occurred. |
Constructor Summary |
Constructs a prototypical Event.
|
Method Summary |
Object |
The object on which the Event initially occurred.
|
String |
Returns a String representation of this EventObject.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
protected transient Object source
-
The object on which the Event initially occurred.
EventObject
public EventObject(Object source)
-
Constructs a prototypical Event.
- Parameters:
source
- The object on which the Event initially occurred.
getSource
public Object getSource()
-
The object on which the Event initially occurred.
- Returns:
- The object on which the Event initially occurred.
toString
public String toString()
-
Returns a String representation of this EventObject.
- Overrides:
toString
in class Object
- Returns:
- A a String representation of this EventObject.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.