Package com.biglybt.ui.swt.wizard
Class AbstractWizardPanel<W extends Wizard>
- java.lang.Object
-
- com.biglybt.ui.swt.wizard.AbstractWizardPanel<W>
-
- All Implemented Interfaces:
IWizardPanel<W>
- Direct Known Subclasses:
BetaWizardStart
,BYOPanel
,ChooseServicePanel
,DirectoryPanel
,ExportTorrentWizardFinishPanel
,ExportTorrentWizardInputPanel
,ExportTorrentWizardOutputPanel
,FilePanel
,FinishPanel
,ImportTorrentWizardFinishPanel
,ImportTorrentWizardInputPanel
,ImportTorrentWizardOutputPanel
,IPWFilePanel
,IPWFinishPanel
,IPWInstallModePanel
,LanguagePanel
,ModePanel
,MultiTrackerPanel
,NatPanel
,ProgressPanel
,ProgressPanel
,SavePathPanel
,SingleFilePanel
,SpeedTestFinishPanel
,SpeedTestPanel
,SpeedTestSelector
,SpeedTestSetLimitPanel
,TransferPanel2
,UIPWFinishPanel
,UIPWListPanel
,WebSeedPanel
,WelcomePanel
public abstract class AbstractWizardPanel<W extends Wizard> extends java.lang.Object implements IWizardPanel<W>
-
-
Field Summary
Fields Modifier and Type Field Description protected IWizardPanel<W>
previousPanel
protected W
wizard
-
Constructor Summary
Constructors Constructor Description AbstractWizardPanel(W wizard, IWizardPanel<W> previousPanel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelled()
void
finish()
IWizardPanel<W>
getFinishPanel()
IWizardPanel<W>
getNextPanel()
IWizardPanel<W>
getPreviousPanel()
boolean
isFinishEnabled()
boolean
isFinishSelectionOK()
This method is called when the "finish" button is pressed.boolean
isNextEnabled()
boolean
isPreviousEnabled()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.ui.swt.wizard.IWizardPanel
show
-
-
-
-
Field Detail
-
previousPanel
protected IWizardPanel<W extends Wizard> previousPanel
-
-
Constructor Detail
-
AbstractWizardPanel
public AbstractWizardPanel(W wizard, IWizardPanel<W> previousPanel)
-
-
Method Detail
-
isPreviousEnabled
public boolean isPreviousEnabled()
- Specified by:
isPreviousEnabled
in interfaceIWizardPanel<W extends Wizard>
-
isNextEnabled
public boolean isNextEnabled()
- Specified by:
isNextEnabled
in interfaceIWizardPanel<W extends Wizard>
-
isFinishEnabled
public boolean isFinishEnabled()
- Specified by:
isFinishEnabled
in interfaceIWizardPanel<W extends Wizard>
-
getPreviousPanel
public IWizardPanel<W> getPreviousPanel()
- Specified by:
getPreviousPanel
in interfaceIWizardPanel<W extends Wizard>
-
getNextPanel
public IWizardPanel<W> getNextPanel()
- Specified by:
getNextPanel
in interfaceIWizardPanel<W extends Wizard>
-
getFinishPanel
public IWizardPanel<W> getFinishPanel()
- Specified by:
getFinishPanel
in interfaceIWizardPanel<W extends Wizard>
-
isFinishSelectionOK
public boolean isFinishSelectionOK()
Description copied from interface:IWizardPanel
This method is called when the "finish" button is pressed. It allows operations to be carried out before the "finish" panel is shown.- Specified by:
isFinishSelectionOK
in interfaceIWizardPanel<W extends Wizard>
- Returns:
- true - carry on and show the finish panel; false - operation failed, leave on current panel
-
cancelled
public void cancelled()
- Specified by:
cancelled
in interfaceIWizardPanel<W extends Wizard>
-
finish
public void finish()
- Specified by:
finish
in interfaceIWizardPanel<W extends Wizard>
-
-