org.gudy.azureus2.ui.swt.speedtest
Class SpeedTestPanel
java.lang.Object
org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
org.gudy.azureus2.ui.swt.speedtest.SpeedTestPanel
- All Implemented Interfaces:
- NetworkAdminSpeedTesterListener, NetworkAdminSpeedTestScheduledTestListener, IWizardPanel
public class SpeedTestPanel
- extends AbstractWizardPanel
- implements NetworkAdminSpeedTestScheduledTestListener, NetworkAdminSpeedTesterListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpeedTestPanel
public SpeedTestPanel(SpeedTestWizard _wizard,
IWizardPanel _previousPanel)
show
public void show()
- Specified by:
show
in interface IWizardPanel
finish
public void finish()
- Specified by:
finish
in interface IWizardPanel
- Overrides:
finish
in class AbstractWizardPanel
cancel
public void cancel()
runTest
protected void runTest(int test_mode,
boolean encrypt_mode)
stage
public void stage(NetworkAdminSpeedTestScheduledTest test,
String step)
- Specified by:
stage
in interface NetworkAdminSpeedTestScheduledTestListener
complete
public void complete(NetworkAdminSpeedTestScheduledTest test)
- Specified by:
complete
in interface NetworkAdminSpeedTestScheduledTestListener
stage
public void stage(NetworkAdminSpeedTester tester,
String step)
- Description copied from interface:
NetworkAdminSpeedTesterListener
- Informs listener when the test is at a new stage.
- Specified by:
stage
in interface NetworkAdminSpeedTesterListener
- Parameters:
tester
- - test running.step
- - String with stage.
complete
public void complete(NetworkAdminSpeedTester tester,
NetworkAdminSpeedTesterResult result)
- Description copied from interface:
NetworkAdminSpeedTesterListener
- When a test completes.
- Specified by:
complete
in interface NetworkAdminSpeedTesterListener
- Parameters:
tester
- - test ranresult
- - String with the result
reportComplete
protected void reportComplete(NetworkAdminSpeedTesterResult result)
reportStage
protected void reportStage(String step)
switchToClose
protected void switchToClose()
isFinishEnabled
public boolean isFinishEnabled()
- Specified by:
isFinishEnabled
in interface IWizardPanel
- Overrides:
isFinishEnabled
in class AbstractWizardPanel
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 interface IWizardPanel
- Overrides:
isFinishSelectionOK
in class AbstractWizardPanel
- Returns:
- true - carry on and show the finish panel; false - operation failed,
leave on current panel
getFinishPanel
public IWizardPanel getFinishPanel()
- Specified by:
getFinishPanel
in interface IWizardPanel
- Overrides:
getFinishPanel
in class AbstractWizardPanel
isNextEnabled
public boolean isNextEnabled()
- Specified by:
isNextEnabled
in interface IWizardPanel
- Overrides:
isNextEnabled
in class AbstractWizardPanel
getNextPanel
public IWizardPanel getNextPanel()
- Specified by:
getNextPanel
in interface IWizardPanel
- Overrides:
getNextPanel
in class AbstractWizardPanel