com.izforge.izpack.panels
Class LicencePanelConsoleHelper

java.lang.Object
  extended by com.izforge.izpack.installer.PanelConsoleHelper
      extended by com.izforge.izpack.panels.LicencePanelConsoleHelper
All Implemented Interfaces:
PanelConsole

public class LicencePanelConsoleHelper
extends PanelConsoleHelper
implements PanelConsole

License Panel console helper


Constructor Summary
LicencePanelConsoleHelper()
           
 
Method Summary
private  int askToAcceptLicense()
           
private  boolean doContinue()
           
 boolean runConsole(AutomatedInstallData idata)
          Asks the panel to run in interactive console mode
 boolean runConsoleFromPropertiesFile(AutomatedInstallData installData, java.util.Properties p)
          Asks the panel to run and do its work, given a set of properties to use as variables
 boolean runGeneratePropertiesFile(AutomatedInstallData installData, java.io.PrintWriter printWriter)
          Asks the panel to return all inputed fields/variables in a string with a properties file style
 
Methods inherited from class com.izforge.izpack.installer.PanelConsoleHelper
askEndOfConsolePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicencePanelConsoleHelper

public LicencePanelConsoleHelper()
Method Detail

runGeneratePropertiesFile

public boolean runGeneratePropertiesFile(AutomatedInstallData installData,
                                         java.io.PrintWriter printWriter)
Description copied from interface: PanelConsole
Asks the panel to return all inputed fields/variables in a string with a properties file style

Specified by:
runGeneratePropertiesFile in interface PanelConsole
Parameters:
installData - The installation data

runConsoleFromPropertiesFile

public boolean runConsoleFromPropertiesFile(AutomatedInstallData installData,
                                            java.util.Properties p)
Description copied from interface: PanelConsole
Asks the panel to run and do its work, given a set of properties to use as variables

Specified by:
runConsoleFromPropertiesFile in interface PanelConsole
Parameters:
installData - The installation data
p - The the properties

runConsole

public boolean runConsole(AutomatedInstallData idata)
Description copied from interface: PanelConsole
Asks the panel to run in interactive console mode

Specified by:
runConsole in interface PanelConsole
Parameters:
idata - The installation data *

doContinue

private boolean doContinue()

askToAcceptLicense

private int askToAcceptLicense()