com.izforge.izpack.panels.htmlinfo
Class HTMLInfoConsolePanel
java.lang.Object
com.izforge.izpack.installer.console.AbstractConsolePanel
com.izforge.izpack.installer.console.AbstractTextConsolePanel
com.izforge.izpack.panels.htmlinfo.HTMLInfoConsolePanel
- All Implemented Interfaces:
- ConsolePanel
- Direct Known Subclasses:
- HTMLHelloConsolePanel
public class HTMLInfoConsolePanel
- extends AbstractTextConsolePanel
Console implementation of HTMLInfoPanel.
- Author:
- Tim Anderson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLInfoConsolePanel
public HTMLInfoConsolePanel(PanelView<ConsolePanel> panel,
Resources resources)
HTMLInfoConsolePanel
public HTMLInfoConsolePanel(PanelView<ConsolePanel> panel,
Resources resources,
String resourcePrefix)
run
public boolean run(InstallData installData,
Console console)
- Runs the panel using the specified console.
If there is no text to display, the panel will return
false.
- Specified by:
run in interface ConsolePanel- Overrides:
run in class AbstractTextConsolePanel
- Parameters:
installData - the installation dataconsole - the console
- Returns:
true if the panel ran successfully, otherwise false
getText
protected String getText()
- Returns the text to display.
- Specified by:
getText in class AbstractTextConsolePanel
- Returns:
- the text. A
null indicates failure
Copyright © 2018. All rights reserved.