public class ChangeEvent
extends java.util.EventObject
Constructor and Description |
---|
ChangeEvent(java.lang.Object source)
Constructs a new ChangeEvent with the given object as the source of the
event.
|
ChangeEvent(java.lang.Object source,
java.lang.String property)
Constructs a new ChangeEvent with the given source object and property
name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName()
Returns the name of the property that has changed.
|
protected void |
setPropertyName(java.lang.String string)
Sets the name of the property that has changed.
|
public ChangeEvent(java.lang.Object source)
source
- The source of the eventpublic ChangeEvent(java.lang.Object source, java.lang.String property)
source
- The source of the eventproperty
- The property namepublic java.lang.String getPropertyName()
protected void setPropertyName(java.lang.String string)
string
- The property nameCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.