com.izforge.izpack.panels.checkedhello
Class CheckedHelloConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.panels.hello.HelloConsolePanel
com.izforge.izpack.panels.checkedhello.CheckedHelloConsolePanel
- All Implemented Interfaces:
- ConsolePanel
public class CheckedHelloConsolePanel
- extends HelloConsolePanel
Console implementation of the CheckedHelloPanel.
- Author:
- Tim Anderson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckedHelloConsolePanel
public CheckedHelloConsolePanel(RegistryDefaultHandler handler,
InstallData installData,
Prompt prompt,
PanelView<ConsolePanel> panel)
throws NativeLibException
- Constructs a CheckedHelloConsolePanel.
- Parameters:
handler - the registry handlerinstallData - the installation dataprompt - the promptpanel - the parent panel/view. May be null
- Throws:
NativeLibException - for any native library error
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 HelloConsolePanel
- Parameters:
installData - the installation dataconsole - the console
- Returns:
- true if the panel ran successfully, otherwise false
multipleInstall
protected boolean multipleInstall(InstallData installData)
- Invoked if the product is already installed.
This prompts the user whether to install twice or quit.
- Parameters:
installData - the installation data
- Returns:
- true to install again, false to quit
Copyright © 2018. All rights reserved.