org.gudy.azureus2.ui.swt.speedtest
Class SpeedTestSetLimitPanel
java.lang.Object
org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
org.gudy.azureus2.ui.swt.speedtest.SpeedTestSetLimitPanel
- All Implemented Interfaces:
- IWizardPanel
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpeedTestSetLimitPanel
public SpeedTestSetLimitPanel(Wizard wizard,
IWizardPanel previousPanel,
int upload,
long maxup,
int download,
long maxdown)
show
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.
determineRateSettingEx
public int determineRateSettingEx(int measuredRate,
boolean testRan,
boolean isUpload)
finish
public void finish()
- Specified by:
finish
in interface IWizardPanel
- Overrides:
finish
in class AbstractWizardPanel
getFinishPanel
public IWizardPanel getFinishPanel()
- Specified by:
getFinishPanel
in interface IWizardPanel
- Overrides:
getFinishPanel
in class AbstractWizardPanel
isFinishEnabled
public boolean isFinishEnabled()
- Specified by:
isFinishEnabled
in interface IWizardPanel
- Overrides:
isFinishEnabled
in class AbstractWizardPanel
isNextEnabled
public boolean isNextEnabled()
- Specified by:
isNextEnabled
in interface IWizardPanel
- Overrides:
isNextEnabled
in class AbstractWizardPanel