A B C D E F G H I L M N O P R S T U V W X

A

activeSchedules - Variable in class speedscheduler.SpeedSchedulerThread
The list of schedules that are currently active based on day of week and time of day (the run() method chooses these).
activeSchedules - Variable in class speedscheduler.SpeedSchedulerView
 
addListener(int, Listener) - Method in class speedscheduler.IntegerInput
 
addModifyListener(ModifyListener) - Method in class speedscheduler.IntegerInput
Adds a ModifyListener to this inptu box, such that every time a new character is inputted, this event will fire.
addPausedDownload(Download) - Method in class speedscheduler.SpeedSchedulerThread
Records that we paused the specified download in a persistent such that we will un-pause this download again when schedules indicate such.
addScheduleChangeListener(ScheduleChangeListener) - Method in class speedscheduler.SchedulePersistencyManager
If you want to know when the Schedules have changed, register here.
addScheduleSelectionListener(ScheduleSelectionChangeListener) - Method in class speedscheduler.SpeedSchedulerThread
Call this method to sign-up to receive notification when the SpeedSchedulerThread selects a new schedule to use when limiting download/upload speeds.
allWidgets - Variable in class speedscheduler.SpeedSchedulerView
 
APPEND_LOG - Static variable in class speedscheduler.Log
 
areDownloadsPaused() - Method in class speedscheduler.Schedule
Gets whether transfers are supposed to be paused during this Schedule.
areDownloadsPaused() - Method in class speedscheduler.TransferConfigurationComposite
Gets whether the user has indicate that downloading torrents should be paused.
areSeedsPaused() - Method in class speedscheduler.Schedule
 
areSeedsPaused() - Method in class speedscheduler.TransferConfigurationComposite
Gets whether the user has indicate that seeding torrents should be paused.
AUTO_SPEED_ENABLED_CONFIG_VAR - Static variable in class speedscheduler.SpeedSchedulerPlugin
 
AUTO_SPEED_MAX_UPLOAD_CONFIG_VAR - Static variable in class speedscheduler.SpeedSchedulerPlugin
 
AUTO_SPEED_PLUGIN_NAME - Static variable in class speedscheduler.SpeedSchedulerPlugin
 
AUTO_SPEED_WARNED_PARAM - Static variable in class speedscheduler.SpeedSchedulerPlugin
 

B

between(Time, Time) - Method in class speedscheduler.Time
Figures out if this time is between the two specified times, t1 and t2, inclusive.
BinaryScheduleIO - Class in speedscheduler.io
An implementation of ScheduleIO that persists Schedules as binary serialized Java objects.
BinaryScheduleIO() - Constructor for class speedscheduler.io.BinaryScheduleIO
 
blue - Static variable in class speedscheduler.SpeedSchedulerView
 
BUTTON_PADDING - Static variable in class speedscheduler.SpeedSchedulerView
 

C

checkHours() - Method in class speedscheduler.ScheduleEditComposite
Checks that the hours selected are sane (ie, the start hour is earlier than the end hour, and there are more than 0 hours selected).
checkImage - Variable in class speedscheduler.SpeedSchedulerView
 
checkTimes() - Method in class speedscheduler.HourSpanComposite
Returns true if times are sane, and posts messages to the widget if not.
clockImage - Variable in class speedscheduler.ScheduleEditDialog
 
contextMenu - Variable in class speedscheduler.SpeedSchedulerView
 
createDayOfWeekCheckbox(int) - Method in class speedscheduler.DayOfWeekComposite
Factory to crank out a checkbox for a day of the week, complete with text and a listener that calls handleDayOfWeekClick() on clicks.
currentSchedule - Variable in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 

D

DayOfWeekComposite - Class in speedscheduler
A widget that draws checkboxes for each day of the week and provides accessor methods for fetching user input.
DayOfWeekComposite(Composite) - Constructor for class speedscheduler.DayOfWeekComposite
Creates a new DayOfWeekChooser using the style of the specified parent.
DayOfWeekComposite(Composite, boolean[]) - Constructor for class speedscheduler.DayOfWeekComposite
Creates a new DayOfWeekChooser given the specified parent Composite and style.
dayOfWeekComposite - Variable in class speedscheduler.ScheduleEditComposite
 
DEBUG - Static variable in class speedscheduler.Log
 
DEFAULT_END_TIME - Static variable in class speedscheduler.HourSpanComposite
 
DEFAULT_LOG_FILE - Static variable in class speedscheduler.Log
 
DEFAULT_SLEEP_TIME - Static variable in class speedscheduler.SpeedSchedulerThread
 
DEFAULT_START_TIME - Static variable in class speedscheduler.HourSpanComposite
 
defaultImage - Variable in class speedscheduler.SpeedSchedulerView
 
defaultMaxDownloadRate - Variable in class speedscheduler.io.BinaryScheduleIO
 
defaultMaxDownloadRate - Variable in class speedscheduler.io.XmlScheduleIO
 
defaultMaxDownloadRate - Variable in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
defaultMaxDownloadRate - Variable in class speedscheduler.SpeedSchedulerThread
 
defaultMaxDownloadRate - Variable in class speedscheduler.SpeedSchedulerView
 
defaultMaxDownloadRateInput - Variable in class speedscheduler.SpeedSchedulerView
 
defaultMaxUploadRate - Variable in class speedscheduler.io.BinaryScheduleIO
 
defaultMaxUploadRate - Variable in class speedscheduler.io.XmlScheduleIO
 
defaultMaxUploadRate - Variable in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
defaultMaxUploadRate - Variable in class speedscheduler.SpeedSchedulerThread
When no schedule applies, the default rate is used.
defaultMaxUploadRate - Variable in class speedscheduler.SpeedSchedulerView
 
defaultMaxUploadRateInput - Variable in class speedscheduler.SpeedSchedulerView
 
defaultSpeedsImageComposite - Variable in class speedscheduler.SpeedSchedulerView
 
delete() - Method in class speedscheduler.SpeedSchedulerView
Called exactly once when the user clicks the X on my view.
deleteItem - Variable in class speedscheduler.SpeedSchedulerView
 
deleteScheduleButton - Variable in class speedscheduler.SpeedSchedulerView
 
deleteScheduleEvent() - Method in class speedscheduler.SpeedSchedulerView
Deletes the selected Schedule from the table (if any).
display - Variable in class speedscheduler.ScheduleEditDialog
 
display - Variable in class speedscheduler.SpeedSchedulerView
 
downloadsPaused - Variable in class speedscheduler.Schedule
 
dumpSelectedDays() - Method in class speedscheduler.DayOfWeekComposite
Prints to stderr the status for each day (whether selected or not)

E

earlierThan(Time) - Method in class speedscheduler.Time
Figures out if this time is before the specified time t.
editItem - Variable in class speedscheduler.SpeedSchedulerView
 
editScheduleButton - Variable in class speedscheduler.SpeedSchedulerView
 
editScheduleEvent() - Method in class speedscheduler.SpeedSchedulerView
Pops up an edit Schedule dialog for editing the selected Schedule (if any) from the table.
enabled - Variable in class speedscheduler.Schedule
 
ENABLED_PARAM - Static variable in class speedscheduler.SpeedSchedulerPlugin
The name of the parameter in the Azureus config that tells us if we are enabled or not.
enableItem - Variable in class speedscheduler.SpeedSchedulerView
 
enableScheduleButton - Variable in class speedscheduler.SpeedSchedulerView
 
enableScheduleEvent() - Method in class speedscheduler.SpeedSchedulerView
toggles the selected Schedule from the table between enabled and disabled.
endElement(String, String, String) - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
endTime - Variable in class speedscheduler.HourSpanComposite
 
endTime - Variable in class speedscheduler.Schedule
 
equals(Object) - Method in class speedscheduler.Schedule
Compares the specified Schedule (t) with this one.
equals(Object) - Method in class speedscheduler.Time
Figures out if this time is equal to the specified time.
ERROR - Static variable in class speedscheduler.Log
 
errorMessageBox(String) - Method in class speedscheduler.ScheduleEditDialog
 
errorMessageBox(String) - Method in class speedscheduler.SpeedSchedulerView
Draws a (not so) friendly error message dialog.

F

FORCE - Static variable in class speedscheduler.Log
 

G

getAutoSpeedMaxUploadSpeed() - Method in class speedscheduler.SpeedSchedulerPlugin
Gets auto speed's maximum upload setting.
getAutoSpeedPluginInterface() - Method in class speedscheduler.SpeedSchedulerPlugin
Fetches the AutoSpeed plugin interface.
getAzureusGlobalDownloadSpeed() - Method in class speedscheduler.SpeedSchedulerPlugin
Sets Azureus' maximum global download speed.
getAzureusGlobalUploadSpeed() - Method in class speedscheduler.SpeedSchedulerPlugin
Gets Azureus' maximum global upload speed.
getAzureusPluginInterface() - Method in class speedscheduler.SpeedSchedulerPlugin
Gets a reference to the Azureus plugin interface.
getComposite() - Method in class speedscheduler.SpeedSchedulerView
If Azureus wants access to my main Composite, here it is.
getConfigParameter(String, int) - Method in class speedscheduler.SpeedSchedulerPlugin
 
getConfigParameter(String, String) - Method in class speedscheduler.SpeedSchedulerPlugin
 
getCurrentCalendar() - Static method in class speedscheduler.TimeUtils
 
getCurrentDayIndex() - Static method in class speedscheduler.TimeUtils
Returns the day of the week indexed at 0.
getCurrentTime() - Static method in class speedscheduler.TimeUtils
Returns the current time according to the computer as a Time object.
getDateTimeString() - Static method in class speedscheduler.Log
 
getDayName(int) - Static method in class speedscheduler.TimeUtils
Utility to translate the dayOfWeek index to a human-readable string.
getDaySelectionString() - Method in class speedscheduler.Schedule
Gets a human-readable string to show which days of the week have been selected.
getDefaultMaxDownloadRate() - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
getDefaultMaxDownloadSpeed() - Method in class speedscheduler.io.BinaryScheduleIO
 
getDefaultMaxDownloadSpeed() - Method in interface speedscheduler.io.ScheduleIO
 
getDefaultMaxDownloadSpeed() - Method in class speedscheduler.io.XmlScheduleIO
 
getDefaultMaxDownloadSpeed() - Method in class speedscheduler.SchedulePersistencyManager
Gets the persisted default max download rate (used when no schedules apply).
getDefaultMaxUploadRate() - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
getDefaultMaxUploadSpeed() - Method in class speedscheduler.io.BinaryScheduleIO
 
getDefaultMaxUploadSpeed() - Method in interface speedscheduler.io.ScheduleIO
 
getDefaultMaxUploadSpeed() - Method in class speedscheduler.io.XmlScheduleIO
 
getDefaultMaxUploadSpeed() - Method in class speedscheduler.SchedulePersistencyManager
Gets the persisted default max upload rate (used when no schedules apply).
getDownloadFromHash(String) - Method in class speedscheduler.SpeedSchedulerThread
Gets the download with the specified hash (if any).
getDownloadRateString() - Method in class speedscheduler.Schedule
Gets a human-readable string representing the max download speed for this Schedule.
getEndTime() - Method in class speedscheduler.HourSpanComposite
Gets the end time chosen by the user.
getEndTime() - Method in class speedscheduler.Schedule
Gets the end time for this Schedule, represented as a Time object.
getFullTitle() - Method in class speedscheduler.SpeedSchedulerView
Azureus wants to know my long name: Here it is.
getHour() - Method in class speedscheduler.Time
Gets the hour value of this time (0-23).
getHourSelectionString() - Method in class speedscheduler.Schedule
Gets a nicely formatted string representing the hours selected by this Schedule.
getImage(Display, Class, String) - Static method in class speedscheduler.ImageUtils
Constructs and returns an Image object based on the specified Display object, Class that will use the image, and location of the image.
getInstance() - Static method in class speedscheduler.SchedulePersistencyManager
Gets the singleton instance of this class.
getInstance() - Static method in class speedscheduler.SpeedSchedulerPlugin
Get the singleton instance of the SpeedSchedulerPlugin.
getInstance() - Static method in class speedscheduler.SpeedSchedulerThread
 
getMaxDownloadRate() - Method in class speedscheduler.Schedule
Gets the max download rate for this schedule.
getMaxDownloadRate() - Method in class speedscheduler.TransferConfigurationComposite
Gets the download rate entered by the user.
getMaxUploadRate() - Method in class speedscheduler.Schedule
Gets the max upload rate for this schedule.
getMaxUploadRate() - Method in class speedscheduler.TransferConfigurationComposite
Gets the upload rate entered by the user.
getMinute() - Method in class speedscheduler.Time
Gets the minute value of this time (0-59).
getPausedDownloads() - Method in class speedscheduler.SpeedSchedulerThread
Gets all the Downloads that we have paused as a result of schedules.
getPausedDownloadsFile() - Method in class speedscheduler.SpeedSchedulerThread
Gets the name of the file where paused download hashes are stored.
getPluginDirectoryName() - Method in class speedscheduler.SpeedSchedulerPlugin
Gets the directory where we are installed.
getPluginViewName() - Method in class speedscheduler.SpeedSchedulerView
Azureus wants to know my name: Here it is.
getSaveFileName() - Method in class speedscheduler.io.BinaryScheduleIO
Helper function that tells us where to save the Schedules.
getSaveFileName() - Method in class speedscheduler.io.XmlScheduleIO
Helper function that tells us where to save the Schedules.
getSaxParser() - Method in class speedscheduler.io.XmlScheduleIO
Finds an appropriate SAX driver class name
getSchedule() - Method in class speedscheduler.ScheduleEditComposite
Gets the Schedule as specified by the user.
getSchedules() - Method in class speedscheduler.io.BinaryScheduleIO
Fetches the loaded schedules.
getSchedules() - Method in interface speedscheduler.io.ScheduleIO
 
getSchedules() - Method in class speedscheduler.io.XmlScheduleIO
 
getSchedules() - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
getSchedules() - Method in class speedscheduler.SchedulePersistencyManager
Gest the currently persisted Schedules.
getSelectedDays() - Method in class speedscheduler.DayOfWeekComposite
Get the selected days array.
getSelectedDays() - Method in class speedscheduler.Schedule
Gets the raw boolean array (of size TimeUtils.WEEK_LEN) to show which days have been selected for this Schedule.
getShortDayName(int) - Static method in class speedscheduler.TimeUtils
Gets the name of the day by week index.
getStartTime() - Method in class speedscheduler.HourSpanComposite
Gets the start time chosen by the user.
getStartTime() - Method in class speedscheduler.Schedule
Gets the start time for this Schedule.
getTimeLabelString() - Method in class speedscheduler.SpeedSchedulerView
 
getUploadRateString() - Method in class speedscheduler.Schedule
Gets a human-readable string representing the max upload speed for this Schedule.
getValue() - Method in class speedscheduler.IntegerInput
Gets the value entered by the user
getVersion() - Static method in class speedscheduler.Version
Get the printable, readable version string.
GRAPHICAL - Static variable in class speedscheduler.Log
 
gray - Static variable in class speedscheduler.SpeedSchedulerView
 
guiDisplay(int, String) - Static method in class speedscheduler.Log
 
guiDisplay(Throwable) - Static method in class speedscheduler.Log
 

H

handCursor - Static variable in class speedscheduler.SpeedSchedulerView
 
handleDayOfWeekClick(Button, int) - Method in class speedscheduler.DayOfWeekComposite
When a day-of-week checkbox is clicked.
hashCode() - Method in class speedscheduler.Schedule
Gets this object's hash code
hashCode() - Method in class speedscheduler.Time
Gets this object's hash code
hasUserBeenWarnedAboutAutoSpeed() - Method in class speedscheduler.SpeedSchedulerPlugin
Returns true if the user has already been warned about AutoSpeed/SpeedScheduler behavior.
HELP_URL - Static variable in class speedscheduler.SpeedSchedulerView
 
hour - Variable in class speedscheduler.Time
 
HourSpanComposite - Class in speedscheduler
A widget for choosing a span of time during a single day.
HourSpanComposite(Composite) - Constructor for class speedscheduler.HourSpanComposite
Create a new HourSpanComposite and place it in the specified parent Composite.
HourSpanComposite(Composite, Time, Time) - Constructor for class speedscheduler.HourSpanComposite
Creates a new HourSpanComposite given a parent and default selected start and end times.
hourSpanComposite - Variable in class speedscheduler.ScheduleEditComposite
 

I

ImageUtils - Class in speedscheduler
This class allows us to conveniently draw images on SWT widgets (like composites).
ImageUtils() - Constructor for class speedscheduler.ImageUtils
No instantiations.
INDENT - Static variable in class speedscheduler.io.XmlScheduleIO
 
INFO - Static variable in class speedscheduler.Log
 
initGuiLogger() - Static method in class speedscheduler.Log
 
initialize(PluginInterface) - Method in class speedscheduler.SpeedSchedulerPlugin
This method is called when the plugin is loaded / initialized In our case, it'll simply store the pluginInterface reference and register our PluginView.
initialize(Composite) - Method in class speedscheduler.SpeedSchedulerView
Called by the Azureus plugin system when my plugin is loaded.
initializeSelectedDays(boolean[]) - Method in class speedscheduler.DayOfWeekComposite
Initializes all days to false or to the specified defaults.
initView(Composite) - Method in class speedscheduler.SpeedSchedulerView
Initializes all the graphical controls and loads the saved schedules to display the view.
input - Variable in class speedscheduler.IntegerInput
 
inputWidth - Variable in class speedscheduler.TransferConfigurationComposite
 
inSpan(Time) - Method in class speedscheduler.Schedule
Returns true if the specified Time object falls withing the span covered by this Schedule.
instance - Static variable in class speedscheduler.SchedulePersistencyManager
Make it easy for people to get an instance of me.
instance - Static variable in class speedscheduler.SpeedSchedulerThread
 
IntegerInput - Class in speedscheduler
A convenient widget input box for inputting integers.
IntegerInput(Composite, int) - Constructor for class speedscheduler.IntegerInput
Creates a new IntegerInput widget, embedded in the specified parent Composite, with the specified style.
IntegerInput.IntegerVerifyListener - Class in speedscheduler
 
IntegerInput.IntegerVerifyListener() - Constructor for class speedscheduler.IntegerInput.IntegerVerifyListener
 
isActive(Schedule) - Method in class speedscheduler.SpeedSchedulerView
 
isAutoSpeedEnabled() - Method in class speedscheduler.SpeedSchedulerPlugin
Figures out if the Auto Speed plugin is installed and enabled.
isDaySelected(int) - Method in class speedscheduler.DayOfWeekComposite
Gets whether a day is selected by day index.
isDaySelected(int) - Method in class speedscheduler.Schedule
Given a day index, gets whether that day is selected by this Schedule.
isEnabled() - Method in class speedscheduler.Schedule
Gets whether this Schedule is enabled by the user.
isEnabled() - Method in class speedscheduler.SpeedSchedulerPlugin
If the user has checked the "Enable SpeedSCheduler" in the view, this will return true.
isSwtAvailable() - Method in class speedscheduler.SpeedSchedulerPlugin
Checks if SWT is available on the host system.
isValidSaxDriver(String) - Method in class speedscheduler.io.XmlScheduleIO
Checks a class name.

L

limitDownloadRateIfNeeded() - Method in class speedscheduler.SpeedSchedulerView
Checks the upload rate and sees if it violates the <5 rule.
limitDownloadRateIfNeeded() - Method in class speedscheduler.TransferConfigurationComposite
Checks the upload rate and sees if it violates the <5 rule.
listener - Variable in class speedscheduler.IntegerInput
 
loadSchedules() - Method in class speedscheduler.io.BinaryScheduleIO
Loads the Schedules and default up/down rates from the saved file of binary Java Objects using an ObjectInputStream.
loadSchedules() - Method in interface speedscheduler.io.ScheduleIO
 
loadSchedules() - Method in class speedscheduler.io.XmlScheduleIO
 
loadSchedules() - Method in class speedscheduler.SchedulePersistencyManager
 
Log - Class in speedscheduler
A simple logger for this plugin.
Log() - Constructor for class speedscheduler.Log
No instantiations!
loggerChannel - Static variable in class speedscheduler.Log
 
logLevel - Static variable in class speedscheduler.Log
 

M

main(String[]) - Static method in class speedscheduler.io.XmlScheduleIO
For unit testing only.
main(String[]) - Static method in class speedscheduler.Time
For unit test only
mainComposite - Variable in class speedscheduler.SpeedSchedulerView
 
major - Static variable in class speedscheduler.Version
 
MARGIN_HEIGHT - Static variable in class speedscheduler.ScheduleEditDialog
 
MARGIN_HEIGHT - Static variable in class speedscheduler.SpeedSchedulerView
 
MARGIN_WIDTH - Static variable in class speedscheduler.ScheduleEditDialog
 
MARGIN_WIDTH - Static variable in class speedscheduler.SpeedSchedulerView
 
MAX_DOWNLOAD_SPEED_PARAM - Static variable in class speedscheduler.SpeedSchedulerPlugin
 
MAX_UPLOAD_SPEED_PARAM - Static variable in class speedscheduler.SpeedSchedulerPlugin
 
maxDownloadRate - Variable in class speedscheduler.Schedule
 
maxDownloadRateCaption - Variable in class speedscheduler.TransferConfigurationComposite
 
maxDownloadRateText - Variable in class speedscheduler.TransferConfigurationComposite
 
maxDownloadSpeedParam - Variable in class speedscheduler.SpeedSchedulerThread
To store the name of the configuration parameter we are interested in.
maxUploadRate - Variable in class speedscheduler.Schedule
 
maxUploadRateCaption - Variable in class speedscheduler.TransferConfigurationComposite
 
maxUploadRateText - Variable in class speedscheduler.TransferConfigurationComposite
 
maxUploadSpeedParam - Variable in class speedscheduler.SpeedSchedulerThread
To store the name of the configuration parameter we are interested in.
messageLabel - Variable in class speedscheduler.HourSpanComposite
 
MIN_SLEEP_TIME - Static variable in class speedscheduler.SpeedSchedulerThread
 
minor - Static variable in class speedscheduler.Version
 
minute - Variable in class speedscheduler.Time
 

N

newItem - Variable in class speedscheduler.SpeedSchedulerView
 
newScheduleButton - Variable in class speedscheduler.SpeedSchedulerView
 
newScheduleEvent() - Method in class speedscheduler.SpeedSchedulerView
Pops up a new Schedule dialog for creating a new Schedule.
noDaysSelected() - Method in class speedscheduler.ScheduleEditComposite
Checks the day selection for sanity.
NONE - Static variable in class speedscheduler.Log
 
notifyScheduleSelectionListeners(Vector) - Method in class speedscheduler.SpeedSchedulerThread
Helper function that notifies all ScheduleSelectionListeners that the SpeedSchedulerThread has chosen a new schedule.

O

open() - Method in class speedscheduler.ScheduleEditDialog
Displays the dialog and returns after the user has selected their schedule.
out - Static variable in class speedscheduler.Log
 

P

parent - Variable in class speedscheduler.ScheduleEditDialog
 
pauseDownloadsCaption - Variable in class speedscheduler.TransferConfigurationComposite
 
pauseDownloadsCheckbox - Variable in class speedscheduler.TransferConfigurationComposite
 
pauseSeedsCaption - Variable in class speedscheduler.TransferConfigurationComposite
 
pauseSeedsCheckbox - Variable in class speedscheduler.TransferConfigurationComposite
 
pauseTorrent(Download) - Method in class speedscheduler.SpeedSchedulerThread
Pauses the specified download and adds it to the list of downloads that we have paused, that we can thereby recall later which downloads we have paused when it is time to un-pause them.
pluginConfig - Variable in class speedscheduler.SpeedSchedulerPlugin
A reference to the Azureus PluginConfig implementation
pluginConfig - Variable in class speedscheduler.SpeedSchedulerThread
Interrace to Azureus configuration.
pluginInterface - Variable in class speedscheduler.SpeedSchedulerPlugin
A reference to the Azureus PluginConfig implementation
pluginInterface - Variable in class speedscheduler.SpeedSchedulerThread
Interrace to Azureus.
printLineHeader() - Static method in class speedscheduler.Log
 
println(String, int) - Static method in class speedscheduler.Log
 
printStackTrace(Exception, int) - Static method in class speedscheduler.Log
 
printStackTrace(Exception) - Static method in class speedscheduler.Log
 

R

red - Variable in class speedscheduler.HourSpanComposite
 
refeshScheduleTable() - Method in class speedscheduler.SpeedSchedulerView
Refreshes the Schedule table based on the contents of the schedules vector.
refresh() - Method in class speedscheduler.SpeedSchedulerView
Called periodically while the user is looking at my view (like more than once a second).
removePausedDownload(Download) - Method in class speedscheduler.SpeedSchedulerThread
Removes a download's hash from the persistent file of downloads that we have paused.
returnSchedule - Variable in class speedscheduler.ScheduleEditDialog
 
run() - Method in class speedscheduler.SpeedSchedulerThread
Start your engines and never come back.
runFlag - Variable in class speedscheduler.SpeedSchedulerThread
Flag that tells the thread's loop whether to continue or pause.
runningThread - Variable in class speedscheduler.SpeedSchedulerThread
A reference to the running thread.

S

saveDefaultSpeeds(int, int) - Method in class speedscheduler.io.BinaryScheduleIO
 
saveDefaultSpeeds(int, int) - Method in interface speedscheduler.io.ScheduleIO
 
saveDefaultSpeeds(int, int) - Method in class speedscheduler.io.XmlScheduleIO
 
saveDefaultSpeeds(int, int) - Method in class speedscheduler.SchedulePersistencyManager
 
saveSchedules(Vector, int, int) - Method in class speedscheduler.io.BinaryScheduleIO
Save these Schedules and default up/down rates to the persistent file using a vector of binary Java objects and the ObjectOutputStream.
saveSchedules(Vector, int, int) - Method in interface speedscheduler.io.ScheduleIO
 
saveSchedules(Vector, int, int) - Method in class speedscheduler.io.XmlScheduleIO
 
saveSchedules(Vector, int, int) - Method in class speedscheduler.SchedulePersistencyManager
Save these Schedules and default up/down rates to the persistent file.
SAX_PARSER_CLASSES - Static variable in class speedscheduler.io.XmlScheduleIO
 
Schedule - Class in speedscheduler
The Schedule is fundamental to SpeedScheduler.
Schedule(boolean[], Time, Time, int, int, boolean, boolean) - Constructor for class speedscheduler.Schedule
Create a new Schedule with a specified set of days, start/end times, and rate configuration.
Schedule() - Constructor for class speedscheduler.Schedule
Creates a new schedule with default values.
ScheduleChangeListener - Interface in speedscheduler
Implement this interface and register with the SchedulePersistencyManager to receive notification when the user-configured schedules have changed on disk.
scheduleChangeListeners - Variable in class speedscheduler.SchedulePersistencyManager
Maintains a list of the registered listeners.
ScheduleEditComposite - Class in speedscheduler
Displays a UI for editing a Schedule.
ScheduleEditComposite(Composite, int, Schedule) - Constructor for class speedscheduler.ScheduleEditComposite
 
ScheduleEditComposite(Composite) - Constructor for class speedscheduler.ScheduleEditComposite
Shows a Schedule with default values populated initially.
scheduleEditComposite - Variable in class speedscheduler.ScheduleEditDialog
 
ScheduleEditDialog - Class in speedscheduler
Dialog which allows the user to select a set of days of the week, an hour span, and corresponding transfer configuration.
ScheduleEditDialog(Shell, int, Schedule) - Constructor for class speedscheduler.ScheduleEditDialog
Creates a new ScheduleSelectionDialog window.
ScheduleEditDialog(Shell) - Constructor for class speedscheduler.ScheduleEditDialog
Creates a new ScheduleSelectionDialog window.
ScheduleEditDialog(Shell, Schedule) - Constructor for class speedscheduler.ScheduleEditDialog
 
ScheduleIO - Interface in speedscheduler.io
The SchedulePersistencyManager utilizes implementations of ScheduleIO to persist and unpersist (save and load) user-defined schedules.
scheduleIO - Variable in class speedscheduler.SchedulePersistencyManager
Where to save the schedules (TODO: hard-coded for now, find plugin dir and save there)
scheduleIO2 - Variable in class speedscheduler.SchedulePersistencyManager
 
SchedulePersistencyManager - Class in speedscheduler
Responsible for loading/saving schedules to/from disk.
SchedulePersistencyManager() - Constructor for class speedscheduler.SchedulePersistencyManager
Create a new SchedulePersistencyManager.
schedulePersistencyManager - Variable in class speedscheduler.SpeedSchedulerView
 
schedules - Variable in class speedscheduler.io.BinaryScheduleIO
 
schedules - Variable in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
schedules - Variable in class speedscheduler.io.XmlScheduleIO
 
schedules - Variable in class speedscheduler.SpeedSchedulerThread
The list of the user configured schedules.
schedules - Variable in class speedscheduler.SpeedSchedulerView
To contain all the configured schedules.
schedulesChanged(Vector, int, int) - Method in interface speedscheduler.ScheduleChangeListener
Called to indicate that the user-configured schedules have changed on disk.
schedulesChanged(Vector, int, int) - Method in class speedscheduler.SpeedSchedulerThread
Called by the SchedulePersistencyManager whenever the user changes the schedules.
scheduleSelectionChanged(Vector) - Method in interface speedscheduler.ScheduleSelectionChangeListener
Called to indicate that the SpeedSchedulerThread has selected a new schedule.
scheduleSelectionChanged(Vector) - Method in class speedscheduler.SpeedSchedulerView
Called by the SpeedSchedulerThread to indicate that it has selected a new schedule.
ScheduleSelectionChangeListener - Interface in speedscheduler
Implement this interface and register with the SpeedSchedulerThread if you want to receive notification when the thread chooses a new schedule.
scheduleSelectionListeners - Variable in class speedscheduler.SpeedSchedulerThread
Maintains a list of the registered listeners.
schedulesLoaded - Variable in class speedscheduler.io.BinaryScheduleIO
 
schedulesLoaded - Variable in class speedscheduler.io.XmlScheduleIO
 
SchedulesNotLoadedException - Exception in speedscheduler.io
Thrown by implementors of ScheduleIO if attempts are made to retrieve persisted schedules without first calling loadSchedules().
SchedulesNotLoadedException() - Constructor for exception speedscheduler.io.SchedulesNotLoadedException
Construct a SchedulesNotLoadedException with a default message.
scheduleTable - Variable in class speedscheduler.SpeedSchedulerView
 
scheduleToXml(Schedule) - Method in class speedscheduler.io.XmlScheduleIO
Converts a schedul to an XML representation.
seedsPaused - Variable in class speedscheduler.Schedule
 
selectedDays - Variable in class speedscheduler.DayOfWeekComposite
Stores which days have been selected with the widget.
selectedDays - Variable in class speedscheduler.Schedule
 
setAllWidgetsEnabled(boolean) - Method in class speedscheduler.SpeedSchedulerView
Enables or disables all widgets that have been added to the allWidets Vector.
setAutoSpeedMaxUploadSpeed(int) - Method in class speedscheduler.SpeedSchedulerPlugin
Sets auto speed's maximum upload setting.
setAzureusGlobalDownloadSpeed(int) - Method in class speedscheduler.SpeedSchedulerPlugin
Sets Azureus' maximum global download speed.
setAzureusGlobalUploadSpeed(int) - Method in class speedscheduler.SpeedSchedulerPlugin
Sets Azureus' maximum global upload speed.
setDaySelected(int, boolean) - Method in class speedscheduler.DayOfWeekComposite
Wrapper access to selectedDays array.
setDownloadsPaused(boolean) - Method in class speedscheduler.Schedule
Sets whether downloading torrents are supposed to be paused during this Schedule.
setEditScheduleButtonsEnabledState() - Method in class speedscheduler.SpeedSchedulerView
Sets the edit/delete buttons enabled if there is a schedule selected in the table, sets them disabled if there is no schedule currently selected.
setEnabled(boolean) - Method in class speedscheduler.IntegerInput
Enables/disables this widget.
setEnabled(boolean) - Method in class speedscheduler.Schedule
Enable or disable this schedule
setEnabled(boolean) - Method in class speedscheduler.SpeedSchedulerPlugin
Turns on/off the SpeedScheduler.
setEndTime(Time) - Method in class speedscheduler.Schedule
Sets the end time.
setFile(String) - Static method in class speedscheduler.Log
 
setHour(int) - Method in class speedscheduler.Time
Sets the hour for this time, must be between 0 and 23.
setLayoutData(Object) - Method in class speedscheduler.IntegerInput
Sets the layoutData for this widget.
setLevel(int) - Static method in class speedscheduler.Log
 
setMaxDownloadRate(int) - Method in class speedscheduler.Schedule
Sets the max download rate for this schedule.
setMaxUploadRate(int) - Method in class speedscheduler.Schedule
Sets the max upload rate for this schedule.
setMessageText(String) - Method in class speedscheduler.HourSpanComposite
A message area is displayed on the widget for informing the user about bone-headed actions they may take.
setMinute(int) - Method in class speedscheduler.Time
Sets the minute for this time, must be between 0 and 59.
setSeedsPaused(boolean) - Method in class speedscheduler.Schedule
Sets whether seeding torrents are supposed to be paused during this Schedule.
setSelectedDays(boolean[]) - Method in class speedscheduler.Schedule
Sets the selected days for this Schedule.
setSize(int, int) - Method in class speedscheduler.IntegerInput
Sets the width and height of the widget (only if your layout manager respects this).
setStartTime(Time) - Method in class speedscheduler.Schedule
Sets the start time for this Schedule.
setUserHasBeenWarnedAboutAutoSpeed(boolean) - Method in class speedscheduler.SpeedSchedulerPlugin
Stores whether the user has already been warned about AutoSpeed/SpeedScheduler behavior.
setValue(int) - Method in class speedscheduler.IntegerInput
Sets the displayed value for the widget.
shell - Variable in class speedscheduler.ScheduleEditDialog
 
shell - Variable in class speedscheduler.SpeedSchedulerView
 
speedscheduler - package speedscheduler
 
speedscheduler.io - package speedscheduler.io
 
SpeedSchedulerPlugin - Class in speedscheduler
The main plugin class for this plugin.
SpeedSchedulerPlugin() - Constructor for class speedscheduler.SpeedSchedulerPlugin
 
speedSchedulerPlugin - Static variable in class speedscheduler.SpeedSchedulerPlugin
A reference to this singleton
speedSchedulerThread - Variable in class speedscheduler.SpeedSchedulerPlugin
A reference to the thread that powers this whole shindig
SpeedSchedulerThread - Class in speedscheduler
This thread is responsible for monitoring the user-configured schedules and adjusting the Azureus max upload speed based thereupon.
SpeedSchedulerThread() - Constructor for class speedscheduler.SpeedSchedulerThread
Creates a new SpeedSchedulerThread, which registers a listener with the SchedulePersistencyManager.
SpeedSchedulerView - Class in speedscheduler
This is the main graphical portion of the SpeedScheduler, itself an Azureus view.
SpeedSchedulerView() - Constructor for class speedscheduler.SpeedSchedulerView
Constructor used by Azureus to instantiate me and give me access to the PluginInterface.
startDocument() - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
Initialize.
startElement(String, String, String, Attributes) - Method in class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 
startTime - Variable in class speedscheduler.HourSpanComposite
 
startTime - Variable in class speedscheduler.Schedule
 

T

TAKE_OVER_STDERR - Static variable in class speedscheduler.Log
 
TAKE_OVER_STDOUT - Static variable in class speedscheduler.Log
 
Time - Class in speedscheduler
Simple time object to store hour and minute and compare to other Times.
Time(int, int) - Constructor for class speedscheduler.Time
Creates a new Time with the specified hour and minute.
TimeUtils - Class in speedscheduler
Some handy constances and helper functions for working with times and such.
TimeUtils() - Constructor for class speedscheduler.TimeUtils
 
toggleEnabledState() - Method in class speedscheduler.Schedule
Toggles the schedule from enabled to disabled and vice versa.
toString() - Method in class speedscheduler.Schedule
Gets a human readable representation of this Schedule, mostly for debugging purposes.
toString() - Method in class speedscheduler.Time
Gets a human readable representation of this time, with am/pm and nice formatting.
transferConfigComposite - Variable in class speedscheduler.ScheduleEditComposite
 
TransferConfigurationComposite - Class in speedscheduler
Draws a UI for editing transfer rates: max upload speed, max download speed, and whether transfers should be paused.
TransferConfigurationComposite(Composite) - Constructor for class speedscheduler.TransferConfigurationComposite
Used to draw the SpeedConfigurationChooser in the plugin view.
TransferConfigurationComposite(Composite, int, int, boolean, boolean) - Constructor for class speedscheduler.TransferConfigurationComposite
Create a new composite and populate it with initial default values.

U

unPauseTorrent(Download) - Method in class speedscheduler.SpeedSchedulerThread
Unpauses the specified download (ie, restarts it), and removes it from the persistent list of paused downloads.

V

verifyText(VerifyEvent) - Method in class speedscheduler.IntegerInput.IntegerVerifyListener
 
Version - Class in speedscheduler
Simple class for storing the version of the SpeedScheduler.
Version() - Constructor for class speedscheduler.Version
 
viewIsDisposed - Variable in class speedscheduler.SpeedSchedulerView
 

W

WARN - Static variable in class speedscheduler.Log
 
WARNING_START_AFTER_END - Static variable in class speedscheduler.HourSpanComposite
 
WARNING_ZERO_MINUTE_SPAN - Static variable in class speedscheduler.HourSpanComposite
Minutes in this interval are selectable.
watchImage - Variable in class speedscheduler.SpeedSchedulerView
 
watchImageDisabled - Variable in class speedscheduler.SpeedSchedulerView
 
weAlreadyPausedDownload(Download) - Method in class speedscheduler.SpeedSchedulerThread
Alias for wePausedDownload()
WEEK_LEN - Static variable in class speedscheduler.TimeUtils
Number of days in a week
wePausedTorrent(Download) - Method in class speedscheduler.SpeedSchedulerThread
Returns whether we paused the specified download based on its hash and the contents of the persistent paused downloads file.
white - Variable in class speedscheduler.ScheduleEditDialog
 

X

XmlScheduleIO - Class in speedscheduler.io
An implementation of ScheduleIO that persists Schedules to and loads Schedules from an XML file.
XmlScheduleIO() - Constructor for class speedscheduler.io.XmlScheduleIO
 
XmlScheduleIO.ScheduleHandler - Class in speedscheduler.io
 
XmlScheduleIO.ScheduleHandler() - Constructor for class speedscheduler.io.XmlScheduleIO.ScheduleHandler
 

A B C D E F G H I L M N O P R S T U V W X