public class PropertyEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
protected String |
name
Property name.
|
protected String |
value
Property value.
|
source
Constructor and Description |
---|
PropertyEvent(Object source,
String name)
Construct a new PropertyEvent.
|
PropertyEvent(Object source,
String name,
String value)
Construct a new PropertyEvent.
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName()
Get the name of the property that is effected.
|
String |
getPropertyValue()
Get the value of the property that is effected.
|
String |
toString()
Return a string representation of this event.
|
getSource
protected final String name
protected final String value
public PropertyEvent(Object source, String name, 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(Object source, String name)
source
- The source of the event.name
- The property name effected.NullArgumentException
- Name or source is null.public final String getPropertyName()
public final String getPropertyValue()
public String toString()
toString
in class EventObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.