Constructor and Description |
---|
InstallationWizardFrame()
Create instance of wizard frame object with all GUI elements.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelInstallation(String message)
Display information message and terminate wizard.
|
void |
endInstallation()
Ends long running instalation, restore cursor.
|
cz.cuni.mff.odcleanstore.installer.ui.InstallationWizardFrame.ActionListener |
getActionListener()
Get action listener for listening button action.
|
int |
getStepNumber()
Get current step wizard number.
|
abstract void |
next()
Abstract method for moving wizard to next step.
|
protected void |
onCancel()
Called on closing request from user before wizard close by user decision.
|
protected void |
onFinish()
Called on finishing wizard.
|
protected void |
setNextStep(InstallationWizardStep step)
Set next wizard step, null parameter value sets finish page.
|
boolean |
showConfirmDialog(String message,
String title)
Show confirm modal dialog and return user decision.
|
void |
showInfoDialog(String message,
String title)
Show information modal dialog.
|
protected void |
showInstallButton()
Replaces the "Next" button with "Install"
|
void |
showWarningDialog(String message,
String title)
Show warning modal dialog.
|
void |
startInstallation()
Starts long running instalation, hide next button and set wait cursor.
|
public InstallationWizardFrame() throws IOException
IOException
protected void onFinish()
protected void onCancel()
protected void setNextStep(InstallationWizardStep step) throws IOException
step
- next wizard stepIOException
public cz.cuni.mff.odcleanstore.installer.ui.InstallationWizardFrame.ActionListener getActionListener()
public boolean showConfirmDialog(String message, String title)
message
- message to display in dialogtitle
- caption of dialogpublic void showWarningDialog(String message, String title)
message
- message to display in dialogtitle
- caption of dialogpublic void showInfoDialog(String message, String title)
message
- message to display in dialogtitle
- caption of dialogpublic int getStepNumber()
public abstract void next() throws IOException
IOException
protected void showInstallButton()
public void startInstallation()
public void endInstallation()
public void cancelInstallation(String message)
message
- message to display in dialog boxCopyright © 2013. All Rights Reserved.