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 Object
implements IWizardPanel<W>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
finish()
boolean
boolean
This method is called when the "finish" button is pressed.boolean
boolean
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 Details
-
previousPanel
-
wizard
-
-
Constructor Details
-
AbstractWizardPanel
-
-
Method Details
-
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
- Specified by:
getPreviousPanel
in interfaceIWizardPanel<W extends Wizard>
-
getNextPanel
- Specified by:
getNextPanel
in interfaceIWizardPanel<W extends Wizard>
-
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>
-