|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.panel.AbstractPanelView<PanelAutomation>
com.izforge.izpack.installer.automation.AutomatedPanelView
public class AutomatedPanelView
Implementation of AbstractPanelView for AutomatedPanelViews.
| Constructor Summary | |
|---|---|
AutomatedPanelView(Panel panel,
ObjectFactory factory,
InstallData installData,
AbstractUIHandler handler)
Constructs an AutomatedPanelView. |
|
| Method Summary | |
|---|---|
void |
createInstallationRecord(IXMLElement panelRoot)
Creates an installation record for unattended installations and adds it to a XML root element. |
protected PanelAutomation |
createView(Panel panel,
Class<PanelAutomation> viewClass)
Creates a new view. |
protected AbstractUIHandler |
getHandler()
Returns a handler to prompt the user. |
Class<PanelAutomation> |
getViewClass()
Returns the PanelAutomation class corresponding to the panel's class name |
protected boolean |
isWarningValid(String message,
boolean defaultAnswer)
Determines the behaviour when a warning is encountered during validation. |
| Methods inherited from class com.izforge.izpack.installer.panel.AbstractPanelView |
|---|
canShow, createPanelRootRecord, executePostValidationActions, executePreActivationActions, executePreValidationActions, getFactory, getIndex, getMessage, getPanel, getPanelId, getView, initialise, isValid, isValid, isVisible, saveData, setIndex, setVisible, validateData, validateDynamicConditions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutomatedPanelView(Panel panel,
ObjectFactory factory,
InstallData installData,
AbstractUIHandler handler)
AutomatedPanelView.
panel - the panelfactory - the factory for creating the viewinstallData - the installation datahandler - the handler| Method Detail |
|---|
public Class<PanelAutomation> getViewClass()
PanelAutomation implementation class, or null if none is found
protected PanelAutomation createView(Panel panel,
Class<PanelAutomation> viewClass)
createView in class AbstractPanelView<PanelAutomation>panel - the panel to create the view forviewClass - the view base class
protected AbstractUIHandler getHandler()
getHandler in class AbstractPanelView<PanelAutomation>
protected boolean isWarningValid(String message,
boolean defaultAnswer)
isWarningValid in class AbstractPanelView<PanelAutomation>message - the validation message. May be nulldefaultAnswer - the default response for warnings
true if the warning doesn't invalidate the panel; false if it doespublic void createInstallationRecord(IXMLElement panelRoot)
PanelView
panelRoot - the root to add child elements to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||