com.izforge.izpack.panels.hello
Class HelloConsolePanel

java.lang.Object
  extended by com.izforge.izpack.installer.console.AbstractConsolePanel
      extended by com.izforge.izpack.panels.hello.HelloConsolePanel
All Implemented Interfaces:
ConsolePanel
Direct Known Subclasses:
CheckedHelloConsolePanel

public class HelloConsolePanel
extends AbstractConsolePanel

Hello Panel console helper

Author:
Mounir el hajj

Constructor Summary
HelloConsolePanel(PanelView<ConsolePanel> panel)
          Constructs an HelloConsolePanel.
 
Method Summary
protected  void display(InstallData installData, Console console)
          Displays the panel.
 boolean run(InstallData installData, Console console)
          Runs the panel using the specified console.
 boolean run(InstallData installData, Properties properties)
           
 
Methods inherited from class com.izforge.izpack.installer.console.AbstractConsolePanel
createInstallationRecord, generateOptions, getI18nStringForClass, getI18nStringForClass, getPanel, handlePanelValidationResult, printHeadLine, promptEndPanel, promptRerunPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloConsolePanel

public HelloConsolePanel(PanelView<ConsolePanel> panel)
Constructs an HelloConsolePanel.

Parameters:
panel - the parent panel/view. May be null
Method Detail

run

public boolean run(InstallData installData,
                   Properties properties)

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 data
console - the console
Returns:
true if the panel ran successfully, otherwise false

display

protected void display(InstallData installData,
                       Console console)
Displays the panel.

Parameters:
installData - the installation data
console - the console


Copyright © 2018. All rights reserved.