Package com.biglybt.ui.swt.speedtest
Class SpeedTestFinishPanel
- java.lang.Object
-
- com.biglybt.ui.swt.wizard.AbstractWizardPanel
-
- com.biglybt.ui.swt.speedtest.SpeedTestFinishPanel
-
- All Implemented Interfaces:
IWizardPanel
public class SpeedTestFinishPanel extends AbstractWizardPanel
-
-
Field Summary
Fields Modifier and Type Field Description (package private) LimitToTextHelper
helper
(package private) SpeedManager
speedManager
-
Fields inherited from class com.biglybt.ui.swt.wizard.AbstractWizardPanel
previousPanel, wizard
-
-
Constructor Summary
Constructors Constructor Description SpeedTestFinishPanel(Wizard wizard, IWizardPanel previousPanel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
createDataLine(org.eclipse.swt.widgets.Composite panel, java.lang.String label, int maxKbps, SpeedManagerLimitEstimate estimate)
One line of data in the UIprivate void
createHeaderLine(org.eclipse.swt.widgets.Composite panel)
private void
createStatusLine(org.eclipse.swt.widgets.Composite panel, java.lang.String label, boolean enabled)
boolean
isPreviousEnabled()
void
show()
-
Methods inherited from class com.biglybt.ui.swt.wizard.AbstractWizardPanel
cancelled, finish, getFinishPanel, getNextPanel, getPreviousPanel, isFinishEnabled, isFinishSelectionOK, isNextEnabled
-
-
-
-
Field Detail
-
speedManager
SpeedManager speedManager
-
helper
LimitToTextHelper helper
-
-
Constructor Detail
-
SpeedTestFinishPanel
public SpeedTestFinishPanel(Wizard wizard, IWizardPanel previousPanel)
-
-
Method Detail
-
show
public void show()
-
createHeaderLine
private void createHeaderLine(org.eclipse.swt.widgets.Composite panel)
-
createStatusLine
private void createStatusLine(org.eclipse.swt.widgets.Composite panel, java.lang.String label, boolean enabled)
- Parameters:
panel
- -label
- - labelenabled
- - is enabled
-
createDataLine
private void createDataLine(org.eclipse.swt.widgets.Composite panel, java.lang.String label, int maxKbps, SpeedManagerLimitEstimate estimate)
One line of data in the UI- Parameters:
panel
- -label
- - labelmaxKbps
- - bits/secestimate
- -
-
isPreviousEnabled
public boolean isPreviousEnabled()
- Specified by:
isPreviousEnabled
in interfaceIWizardPanel
- Overrides:
isPreviousEnabled
in classAbstractWizardPanel
-
-