| com.izforge.izpack.util.AbstractUIProgressHandler
All known Subclasses: com.izforge.izpack.panels.InstallPanelAutomationHelper, com.izforge.izpack.panels.InstallPanel,
AbstractUIProgressHandler | public interface AbstractUIProgressHandler extends AbstractUIHandler(Code) | | 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).
|
Method Summary | |
public void | nextStep(String step_name, int step_no, int no_of_substeps) The next step starts. | public void | progress(int substep_no, String message) Notify of progress. | public void | setSubStepNo(int no_of_substeps) Set the number of substeps. | public void | startAction(String name, int no_of_steps) The action starts. | public void | stopAction() The action was finished. |
nextStep | public void nextStep(String step_name, int step_no, int no_of_substeps)(Code) | | The next step starts.
Parameters: step_name - The name of the step which starts now. Parameters: step_no - The number of the step. Parameters: no_of_substeps - The number of sub-steps this step consists of. |
progress | public void progress(int substep_no, String message)(Code) | | Notify of progress.
Parameters: substep_no - The substep which will be performed next. Parameters: message - An additional message describing the substep. |
setSubStepNo | public void setSubStepNo(int no_of_substeps)(Code) | | Set the number of substeps.
This may be used if the number of substeps changes during an action.
Parameters: no_of_substeps - The number of substeps. |
startAction | public void startAction(String name, int no_of_steps)(Code) | | The action starts.
Parameters: name - The name of the action. Parameters: no_of_steps - The number of steps the action consists of. |
stopAction | public void stopAction()(Code) | | The action was finished.
|
|
|