Package pulse.util
Class PropertyEvent
- java.lang.Object
-
- pulse.util.PropertyEvent
-
- All Implemented Interfaces:
Serializable
public class PropertyEvent extends Object implements Serializable
An event which is created to signal about the changes with aPropertyHolder.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyEvent(Object source, PropertyHolder propertyHolder, Property property)Constructs an event that has happened because ofsource, resulting in an action taken on theproperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertygetProperty()Gets the property, which is related to this event.PropertyHoldergetPropertyHolder()ObjectgetSource()Gets the 'source', which is an Object that is the originator of this event.StringtoString()
-
-
-
Constructor Detail
-
PropertyEvent
public PropertyEvent(Object source, PropertyHolder propertyHolder, Property property)
Constructs an event that has happened because ofsource, resulting in an action taken on theproperty.- Parameters:
source- the originator of the eventproperty- the object of the event
-
-
Method Detail
-
getSource
public Object getSource()
Gets the 'source', which is an Object that is the originator of this event.- Returns:
-
getProperty
public Property getProperty()
Gets the property, which is related to this event.- Returns:
- the related property.
-
getPropertyHolder
public PropertyHolder getPropertyHolder()
-
-