Package com.biglybt.ui.swt.views
Class TorrentOptionsView.DMWrapper
java.lang.Object
com.biglybt.ui.swt.views.TorrentOptionsView.DMWrapper
- All Implemented Interfaces:
DownloadManagerOptionsHandler
,DownloadManagerStateAttributeListener
- Enclosing class:
- TorrentOptionsView
private static class TorrentOptionsView.DMWrapper
extends Object
implements DownloadManagerOptionsHandler, DownloadManagerStateAttributeListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.biglybt.core.download.DownloadManagerOptionsHandler
DownloadManagerOptionsHandler.ParameterChangeListener
-
Field Summary
FieldsFields inherited from interface com.biglybt.core.download.DownloadManagerStateAttributeListener
WILL_BE_READ, WRITTEN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
attributeEventOccurred
(DownloadManager dm, String attribute_name, int event_type) boolean
getBooleanParameter
(String name) int
int
getIntParameter
(String name) getName()
int
void
void
setBooleanParameter
(String name, boolean value) void
setDownloadRateLimitBytesPerSecond
(int limit) void
setIntParameter
(String name, int value) void
void
setUploadRateLimitBytesPerSecond
(int limit)
-
Field Details
-
dm
-
listeners
-
-
Constructor Details
-
DMWrapper
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceDownloadManagerOptionsHandler
-
setIntParameter
- Specified by:
setIntParameter
in interfaceDownloadManagerOptionsHandler
-
getIntParameter
- Specified by:
getIntParameter
in interfaceDownloadManagerOptionsHandler
-
setBooleanParameter
- Specified by:
setBooleanParameter
in interfaceDownloadManagerOptionsHandler
-
getBooleanParameter
- Specified by:
getBooleanParameter
in interfaceDownloadManagerOptionsHandler
-
setParameterDefault
- Specified by:
setParameterDefault
in interfaceDownloadManagerOptionsHandler
-
getUploadRateLimitBytesPerSecond
public int getUploadRateLimitBytesPerSecond()- Specified by:
getUploadRateLimitBytesPerSecond
in interfaceDownloadManagerOptionsHandler
-
setUploadRateLimitBytesPerSecond
public void setUploadRateLimitBytesPerSecond(int limit) - Specified by:
setUploadRateLimitBytesPerSecond
in interfaceDownloadManagerOptionsHandler
-
getDownloadRateLimitBytesPerSecond
public int getDownloadRateLimitBytesPerSecond()- Specified by:
getDownloadRateLimitBytesPerSecond
in interfaceDownloadManagerOptionsHandler
-
setDownloadRateLimitBytesPerSecond
public void setDownloadRateLimitBytesPerSecond(int limit) - Specified by:
setDownloadRateLimitBytesPerSecond
in interfaceDownloadManagerOptionsHandler
-
getDownloadManager
- Specified by:
getDownloadManager
in interfaceDownloadManagerOptionsHandler
-
attributeEventOccurred
- Specified by:
attributeEventOccurred
in interfaceDownloadManagerStateAttributeListener
-
addListener
- Specified by:
addListener
in interfaceDownloadManagerOptionsHandler
-
removeListener
- Specified by:
removeListener
in interfaceDownloadManagerOptionsHandler
-