|
Side of Software Wizard Library 1.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sos.wizard.AbstractModel | +--sos.wizard.AbstractPage | +--sos.wizard.ProgressPage
A page that shows the progress of an underlying task.
A progress page is complete when either the task has finished or
the task has been interrupted. The editor is responsible for
executing the task and invoking setTaskAborted
or setTaskCompleted
, as appropriate.
Task
,
ProgressPageEditor
Field Summary |
Fields inherited from interface sos.wizard.Page |
COMPLETE_PROPERTY, NAME_PROPERTY |
Constructor Summary | |
ProgressPage(java.lang.Object name,
Task task)
Creates a ProgressPage with the specified name and task. |
Method Summary | |
Task |
getTask()
Returns the underlying task to be completed. |
boolean |
isComplete()
Returns true if this page is considered complete, or finished. |
boolean |
isTaskAborted()
Returns true if this page has been informed that the task was aborted. |
void |
setTaskAborted()
Informs this page that the task has been aborted. |
void |
setTaskCompleted()
Informs this page that the task has successfully completed. |
Methods inherited from class sos.wizard.AbstractPage |
getValue, putValue, validate |
Methods inherited from class sos.wizard.AbstractModel |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface sos.wizard.Model |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
public ProgressPage(java.lang.Object name, Task task)
ProgressPage
with the specified name and task.
name
- name of this pagetask
- task to be completedMethod Detail |
public Task getTask()
public boolean isComplete()
Page
true
if this page is considered complete, or finished.
true
if this page is completepublic void setTaskCompleted()
setTaskAborted()
public void setTaskAborted()
setTaskCompleted()
public boolean isTaskAborted()
setTaskAborted()
|
Side of Software Wizard Library 1.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |