|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jdesktop.application.TaskEvent<T>
public class TaskEvent<T>
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.
TaskListener
,
Task
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
TaskEvent(Task source,
T value)
Construct a TaskEvent . |
Method Summary | |
---|---|
T |
getValue()
Returns the value this event represents. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskEvent(Task source, T value)
TaskEvent
.
source
- the Task
that produced the value.value
- the value, null if type T
is Void
.Method Detail |
---|
public final T getValue()
value
constructor argument.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |