java.lang.Object | ||
↳ | java.util.EventObject | |
↳ | java.beans.PropertyChangeEvent |
Known Direct Subclasses |
An event that indicates that a constraint or a boundary of a property has changed.
[Expand]
Inherited Fields
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
The constructor used to create a new
PropertyChangeEvent
.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the new value that the property now has.
|
||||||||||
|
Returns the old value that the property had.
|
||||||||||
|
Returns the propagationId object.
|
||||||||||
|
Returns the name of the property that has changed.
|
||||||||||
|
Sets the propagationId object.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
|
|||||||||||
From class
java.lang.Object
|
The constructor used to create a new
PropertyChangeEvent
.
source | the changed bean. |
---|---|
propertyName |
the changed property, or
null
to indicate an
unspecified set of the properties has changed.
|
oldValue |
the previous value of the property, or
null
if
the
propertyName
is
null
or the
previous value is unknown.
|
newValue |
the new value of the property, or
null
if the
propertyName
is
null
or the new
value is unknown.
|
Returns the new value that the property now has. If the new value is unknown this method returns null.
Returns the old value that the property had. If the old value is unknown this method returns null.
Returns the propagationId object. This is reserved for future use. Beans 1.0 demands that a listener receiving this property and then sending its own PropertyChangeEvent sets the received propagationId on the new PropertyChangeEvent's propagationId field.
Returns the name of the property that has changed. If an unspecified set of properties has changed it returns null.
Sets the propagationId object.