|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.panel.AbstractPanelView<IzPanel>
com.izforge.izpack.installer.gui.IzPanelView
public class IzPanelView
Implementation of AbstractPanelView for IzPanels.
| Constructor Summary | |
|---|---|
IzPanelView(Panel panel,
ObjectFactory factory,
InstallData installData)
Constructs a IzPanelView. |
|
| Method Summary | |
|---|---|
void |
createInstallationRecord(IXMLElement panelRoot)
Creates an installation record for unattended installations and adds it to a XML root element. |
protected AbstractUIHandler |
getHandler()
Returns a handler to prompt the user. |
protected void |
initialise(IzPanel view,
Panel panel,
InstallData installData)
Initialises the view. |
boolean |
isValid()
Determines if the panel is valid. |
void |
saveData()
Saves the contents of the panel into install data. |
protected boolean |
validateData()
Evaluates the panel data validator. |
| Methods inherited from class com.izforge.izpack.installer.panel.AbstractPanelView |
|---|
canShow, createPanelRootRecord, createView, executePostValidationActions, executePreActivationActions, executePreValidationActions, getFactory, getIndex, getMessage, getPanel, getPanelId, getView, isValid, isVisible, isWarningValid, setIndex, setVisible, validateDynamicConditions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IzPanelView(Panel panel,
ObjectFactory factory,
InstallData installData)
IzPanelView.
panel - the panelfactory - the factory for creating the viewinstallData - the installation data| Method Detail |
|---|
public boolean isValid()
isValid in interface PanelView<IzPanel>isValid in class AbstractPanelView<IzPanel>true if the panel is validpublic void saveData()
saveData in interface PanelView<IzPanel>saveData in class AbstractPanelView<IzPanel>protected AbstractUIHandler getHandler()
getHandler in class AbstractPanelView<IzPanel>
protected void initialise(IzPanel view,
Panel panel,
InstallData installData)
initialise in class AbstractPanelView<IzPanel>view - the view to initialisepanel - the panel the view representsinstallData - the installation dataprotected boolean validateData()
validateData in class AbstractPanelView<IzPanel>true if the validator evaluated successfully, or with a warning that the user chose to skip;
otherwise falsepublic 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 | |||||||||