Package com.biglybt.ui.swt.maketorrent
Class SavePathPanel
- java.lang.Object
-
- com.biglybt.ui.swt.wizard.AbstractWizardPanel<NewTorrentWizard>
-
- com.biglybt.ui.swt.maketorrent.SavePathPanel
-
- All Implemented Interfaces:
IWizardPanel<NewTorrentWizard>
public class SavePathPanel extends AbstractWizardPanel<NewTorrentWizard>
-
-
Field Summary
Fields Modifier and Type Field Description protected long
file_size
protected long
piece_count
protected long
piece_size
-
Fields inherited from class com.biglybt.ui.swt.wizard.AbstractWizardPanel
previousPanel, wizard
-
-
Constructor Summary
Constructors Constructor Description SavePathPanel(NewTorrentWizard wizard, AbstractWizardPanel<NewTorrentWizard> _previousPanel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IWizardPanel<NewTorrentWizard>
getFinishPanel()
boolean
isFinishSelectionOK()
This method is called when the "finish" button is pressed.void
show()
-
Methods inherited from class com.biglybt.ui.swt.wizard.AbstractWizardPanel
cancelled, finish, getNextPanel, getPreviousPanel, isFinishEnabled, isNextEnabled, isPreviousEnabled
-
-
-
-
Constructor Detail
-
SavePathPanel
public SavePathPanel(NewTorrentWizard wizard, AbstractWizardPanel<NewTorrentWizard> _previousPanel)
-
-
Method Detail
-
show
public void show()
-
getFinishPanel
public IWizardPanel<NewTorrentWizard> getFinishPanel()
- Specified by:
getFinishPanel
in interfaceIWizardPanel<NewTorrentWizard>
- Overrides:
getFinishPanel
in classAbstractWizardPanel<NewTorrentWizard>
-
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<NewTorrentWizard>
- Overrides:
isFinishSelectionOK
in classAbstractWizardPanel<NewTorrentWizard>
- Returns:
- true - carry on and show the finish panel; false - operation failed, leave on current panel
-
-