|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.globalmentor.event.AbstractEvent
com.guiseframework.event.AbstractGuiseEvent
com.guiseframework.event.ProgressEvent<P>
P - The type of progress being made.public class ProgressEvent<P>
An event used to notify interested parties that progress has been made for a particular task.
ProgressListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProgressEvent(java.lang.Object source,
ProgressEvent<P> progressEvent)
Source copy constructor. |
|
ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState)
Task and task state constructor with no known value or maximum value. |
|
ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState,
P progress)
Task, task state, and value constructor with no known maximum value. |
|
ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState,
P value,
P completion)
Task, task state, value, and maximum constructor. |
|
ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState)
Task state constructor with no known value or maximum value. |
|
ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState,
P value)
Task state and value constructor with no known maximum value. |
|
ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState,
P progress,
P completion)
Task state, value, and maximum constructor. |
|
| Method Summary | |
|---|---|
P |
getCompletion()
|
P |
getProgress()
|
java.lang.String |
getTask()
|
com.globalmentor.model.TaskState |
getTaskState()
|
| Methods inherited from class com.guiseframework.event.AbstractGuiseEvent |
|---|
getSession |
| 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 |
| Methods inherited from interface com.globalmentor.event.Event |
|---|
getSource |
| Constructor Detail |
|---|
public ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState)
source - The object on which the event initially occurred.taskState - The state of the task.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState,
P value)
source - The object on which the event initially occurred.taskState - The state of the task.value - The current progress, or null if not known.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
com.globalmentor.model.TaskState taskState,
P progress,
P completion)
source - The object on which the event initially occurred.taskState - The state of the task.progress - The current progress, or null if not known.completion - The goal, or null if not known.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState)
source - The object on which the event initially occurred.task - The task being performed, or null if not indicated.taskState - The state of the task.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState,
P progress)
source - The object on which the event initially occurred.task - The task being performed, or null if not indicated.taskState - The state of the task.progress - The current progress, or null if not known.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
java.lang.String task,
com.globalmentor.model.TaskState taskState,
P value,
P completion)
source - The object on which the event initially occurred.task - The task being performed, or null if not indicated.taskState - The state of the task.value - The current progress, or null if not known.completion - The goal, or null if not known.
java.lang.NullPointerException - if the given task state is null.
public ProgressEvent(java.lang.Object source,
ProgressEvent<P> progressEvent)
source - The object on which the event initially occurred.progressEvent - The existing progress event the values of which will be copied to this object.
java.lang.NullPointerException - if the given progress event is null.| Method Detail |
|---|
public java.lang.String getTask()
null if not indicated.public com.globalmentor.model.TaskState getTaskState()
public P getProgress()
null if not known.public P getCompletion()
null if not known.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||