Class SpeedTestSetLimitPanel

  extended by org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
      extended by org.gudy.azureus2.ui.swt.speedtest.SpeedTestSetLimitPanel
All Implemented Interfaces:

public class SpeedTestSetLimitPanel
extends AbstractWizardPanel

Created on May 1, 2007 Created by Alan Snyder Copyright (C) Azureus Software, Inc, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Field Summary
Fields inherited from class org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
previousPanel, wizard
Constructor Summary
SpeedTestSetLimitPanel(Wizard wizard, IWizardPanel previousPanel, int upload, long maxup, int download, long maxdown)
Method Summary
 int determineRateSettingEx(int measuredRate, boolean testRan, boolean isUpload)
 void finish()
 IWizardPanel getFinishPanel()
 boolean isFinishEnabled()
 boolean isNextEnabled()
 void show()
          Panel has text at the top explaining the result.
Methods inherited from class org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
cancelled, getNextPanel, getPreviousPanel, isFinishSelectionOK, isPreviousEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SpeedTestSetLimitPanel(Wizard wizard,
                              IWizardPanel previousPanel,
                              int upload,
                              long maxup,
                              int download,
                              long maxdown)
Method Detail


public void show()
Panel has text at the top explaining the result. Then under that it has a label the measured upload value and the recommended value. Then a button with apply.


public int determineRateSettingEx(int measuredRate,
                                  boolean testRan,
                                  boolean isUpload)


public void finish()
Specified by:
finish in interface IWizardPanel
finish in class AbstractWizardPanel


public IWizardPanel getFinishPanel()
Specified by:
getFinishPanel in interface IWizardPanel
getFinishPanel in class AbstractWizardPanel


public boolean isFinishEnabled()
Specified by:
isFinishEnabled in interface IWizardPanel
isFinishEnabled in class AbstractWizardPanel


public boolean isNextEnabled()
Specified by:
isNextEnabled in interface IWizardPanel
isNextEnabled in class AbstractWizardPanel