|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractUIProgressHandler
This interface is used by functions which need to notify the user of some progress.
For example, the installation progress and compilation progress are communicated to the user using this interface. The interface supports a two-stage progress indication: The whole action is divided into steps (for example, packs when installing) and sub-steps (for example, files of a pack).
Field Summary |
---|
Fields inherited from interface com.izforge.izpack.util.AbstractUIHandler |
---|
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL |
Method Summary | |
---|---|
void |
nextStep(java.lang.String step_name,
int step_no,
int no_of_substeps)
The next step starts. |
void |
progress(int substep_no,
java.lang.String message)
Notify of progress. |
void |
setSubStepNo(int no_of_substeps)
Set the number of substeps. |
void |
startAction(java.lang.String name,
int no_of_steps)
The action starts. |
void |
stopAction()
The action was finished. |
Methods inherited from interface com.izforge.izpack.util.AbstractUIHandler |
---|
askQuestion, askQuestion, emitError, emitNotification, emitWarning |
Method Detail |
---|
void startAction(java.lang.String name, int no_of_steps)
name
- The name of the action.no_of_steps
- The number of steps the action consists of.void stopAction()
void nextStep(java.lang.String step_name, int step_no, int no_of_substeps)
step_name
- The name of the step which starts now.step_no
- The number of the step.no_of_substeps
- The number of sub-steps this step consists of.void setSubStepNo(int no_of_substeps)
no_of_substeps
- The number of substeps.void progress(int substep_no, java.lang.String message)
substep_no
- The substep which will be performed next.message
- An additional message describing the substep.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |