public class PropertyEvent
extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
Property name.
|
private static long |
serialVersionUID
The serialVersionUID
|
protected java.lang.String |
value
Property value.
|
| Constructor and Description |
|---|
PropertyEvent(java.lang.Object source,
java.lang.String name)
Construct a new PropertyEvent.
|
PropertyEvent(java.lang.Object source,
java.lang.String name,
java.lang.String value)
Construct a new PropertyEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPropertyName()
Get the name of the property that is effected.
|
java.lang.String |
getPropertyValue()
Get the value of the property that is effected.
|
java.lang.String |
toString()
Return a string representation of this event.
|
private static final long serialVersionUID
protected final java.lang.String name
protected final java.lang.String value
public PropertyEvent(java.lang.Object source,
java.lang.String name,
java.lang.String value)
source - The source of the event.name - The property name effected.value - The value of the property effected.NullArgumentException - Name or source is null.public PropertyEvent(java.lang.Object source,
java.lang.String name)
source - The source of the event.name - The property name effected.NullArgumentException - Name or source is null.public final java.lang.String getPropertyName()
public final java.lang.String getPropertyValue()
public java.lang.String toString()
toString in class java.util.EventObject