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
- theTask
that produced the value.value
- the value, null if typeT
isVoid
.
-
-
Method Details
-
getValue
Returns the value this event represents.- Returns:
- the
value
constructor argument.
-