com.izforge.izpack.panels.install
Class InstallConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.panels.install.InstallConsolePanel
- All Implemented Interfaces:
- ProgressListener, ConsolePanel
public class InstallConsolePanel
- extends AbstractConsolePanel
- implements ProgressListener
Install Panel console helper
- Author:
- Mounir el hajj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallConsolePanel
public InstallConsolePanel(IUnpacker unpacker,
PanelView<ConsolePanel> panel)
run
public boolean run(InstallData installData,
Properties properties)
- Specified by:
run in interface ConsolePanel
run
public boolean run(InstallData installData,
Console console)
- Runs the panel using the specified console.
- Specified by:
run in interface ConsolePanel- Overrides:
run in class AbstractConsolePanel
- Parameters:
installData - the installation dataconsole - the console
- Returns:
- true if the panel ran successfully, otherwise false
startAction
public void startAction(String name,
int no_of_steps)
- Specified by:
startAction in interface ProgressListener
stopAction
public void stopAction()
- Specified by:
stopAction in interface ProgressListener
progress
public void progress(int val,
String msg)
- Specified by:
progress in interface ProgressListener
nextStep
public void nextStep(String packName,
int stepno,
int stepsize)
- Specified by:
nextStep in interface ProgressListener
setSubStepNo
public void setSubStepNo(int no_of_substeps)
- Specified by:
setSubStepNo in interface ProgressListener
progress
public void progress(String message)
- Invoked to notify progress.
This increments the current step.
- Specified by:
progress in interface ProgressListener
- Parameters:
message - a message describing the step
restartAction
public void restartAction(String name,
String overallMessage,
String tip,
int steps)
- Invoked when an action restarts.
- Specified by:
restartAction in interface ProgressListener
- Parameters:
name - the name of the actionoverallMessage - a message describing the overall progresstip - a tip describing the current progresssteps - the number of steps the action consists of
Copyright © 2018. All rights reserved.