public class ProgressChecklist
extends java.lang.Object
The progress check list component provides a check list suitable for use within a progress monitor dialog. It contains a message area and a table of step descriptions with corresponding icons to represent the state of each task in progress.
Constructor and Description |
---|
ProgressChecklist(java.lang.Object message,
java.lang.String[] stepNames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
abortSteps()
Aborts all remaining steps for the progress check list.
|
java.awt.Component |
getComponent()
Gets the progress check list component.
|
void |
nextStep(boolean stepSuccessful)
Shows the current step as having succeeded or failed (updating icons) and
increments the step position.
|
void |
reset()
Resets the state of the check list in order that it may be re-used.
|
void |
setStatusColumnVisible(boolean visible)
Sets the visibility of the column containing status text describing
task progress.
|
public ProgressChecklist(java.lang.Object message, java.lang.String[] stepNames)
message
- a descriptive message that will be shown to the user (may
be null).stepNames
- the displayed step names for the check list.public java.awt.Component getComponent()
public void reset()
public void nextStep(boolean stepSuccessful)
stepSuccessful
- a value indicating whether the step succeeeded.public void abortSteps()
public void setStatusColumnVisible(boolean visible)
visible
- the visibility value to set.