Package pulse.input.listeners
Class DataEvent
- java.lang.Object
-
- pulse.input.listeners.DataEvent
-
- All Implemented Interfaces:
Serializable
public class DataEvent extends Object implements Serializable
ADataEventis used to track changes happening with aExperimentalData.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataEvent(DataEventType type, AbstractData data)Constructs aDataEventobject, combining thetypeand associateddata
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractDatagetData()Used to get theExperimentalDataobject that has undergone certain changes specified by this event type.DataEventTypegetType()Used to get the type of this event.
-
-
-
Constructor Detail
-
DataEvent
public DataEvent(DataEventType type, AbstractData data)
Constructs aDataEventobject, combining thetypeand associateddata- Parameters:
type- the type of this eventdata- the source of the event
-
-
Method Detail
-
getType
public DataEventType getType()
Used to get the type of this event.- Returns:
- the type of this event
-
getData
public AbstractData getData()
Used to get theExperimentalDataobject that has undergone certain changes specified by this event type.- Returns:
- the associated data
-
-