Package org.jdesktop.application
Class TaskEvent<T>
java.lang.Object
java.util.EventObject
org.jdesktop.application.TaskEvent<T>
- All Implemented Interfaces:
Serializable
An encapsulation of the value produced one of the
Task execution
methods: doInBackground(), process, done. The source
of a TaskEvent is the Task that produced the value.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
TaskEvent
Construct aTaskEvent.- Parameters:
source- theTaskthat produced the value.value- the value, null if typeTisVoid.
-
-
Method Details
-
getValue
Returns the value this event represents.- Returns:
- the
valueconstructor argument.
-