EventObject
public
class
EventObject
extends Object
implements
Serializable
Known Direct Subclasses
ConnectionEvent |
An Event object that provides information about the
source of a connection-related event.
|
HandshakeCompletedEvent |
This event indicates that an SSL handshake completed on a given
SSL connection.
|
NodeChangeEvent |
An event emitted by a Preferences node to indicate that
a child of that node has been added or removed.
|
PreferenceChangeEvent |
An event emitted by a Preferences node to indicate that
a preference has been added, removed or has had its value changed.
|
PropertyChangeEvent |
A "PropertyChange" event gets delivered whenever a bean changes a "bound"
or "constrained" property.
|
RowSetEvent |
An Event object generated when an event occurs to a
RowSet object.
|
SSLSessionBindingEvent |
This event is propagated to a SSLSessionBindingListener.
|
StatementEvent |
A StatementEvent is sent to all StatementEventListener s which were
registered with a PooledConnection .
|
|
Known Indirect Subclasses
IndexedPropertyChangeEvent |
An "IndexedPropertyChange" event gets delivered whenever a component that
conforms to the JavaBeans™ specification (a "bean") changes a bound
indexed property.
|
|
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.
Summary
Fields |
protected
Object |
source
The object on which the Event initially occurred.
|
Public methods |
Object
|
getSource()
The object on which the Event initially occurred.
|
String
|
toString()
Returns a String representation of this EventObject.
|
Inherited methods |
From
class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long millis, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long millis)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
|
Fields
source
Object source
The object on which the Event initially occurred.
Public constructors
EventObject
EventObject (Object source)
Constructs a prototypical Event.
Parameters |
source |
Object :
The object on which the Event initially occurred. |
Public methods
getSource
Object getSource ()
The object on which the Event initially occurred.
Returns |
Object |
The object on which the Event initially occurred.
|
toString
String toString ()
Returns a String representation of this EventObject.
Returns |
String |
A a String representation of this EventObject.
|