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 TypeMethodDescriptionvoidvoidattributeEventOccurred(DownloadManager dm, String attribute_name, int event_type) booleangetBooleanParameter(String name) intintgetIntParameter(String name) getName()intvoidvoidsetBooleanParameter(String name, boolean value) voidsetDownloadRateLimitBytesPerSecond(int limit) voidsetIntParameter(String name, int value) voidvoidsetUploadRateLimitBytesPerSecond(int limit)
-
Field Details
-
dm
-
listeners
-
-
Constructor Details
-
DMWrapper
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceDownloadManagerOptionsHandler
-
setIntParameter
- Specified by:
setIntParameterin interfaceDownloadManagerOptionsHandler
-
getIntParameter
- Specified by:
getIntParameterin interfaceDownloadManagerOptionsHandler
-
setBooleanParameter
- Specified by:
setBooleanParameterin interfaceDownloadManagerOptionsHandler
-
getBooleanParameter
- Specified by:
getBooleanParameterin interfaceDownloadManagerOptionsHandler
-
setParameterDefault
- Specified by:
setParameterDefaultin interfaceDownloadManagerOptionsHandler
-
getUploadRateLimitBytesPerSecond
public int getUploadRateLimitBytesPerSecond()- Specified by:
getUploadRateLimitBytesPerSecondin interfaceDownloadManagerOptionsHandler
-
setUploadRateLimitBytesPerSecond
public void setUploadRateLimitBytesPerSecond(int limit) - Specified by:
setUploadRateLimitBytesPerSecondin interfaceDownloadManagerOptionsHandler
-
getDownloadRateLimitBytesPerSecond
public int getDownloadRateLimitBytesPerSecond()- Specified by:
getDownloadRateLimitBytesPerSecondin interfaceDownloadManagerOptionsHandler
-
setDownloadRateLimitBytesPerSecond
public void setDownloadRateLimitBytesPerSecond(int limit) - Specified by:
setDownloadRateLimitBytesPerSecondin interfaceDownloadManagerOptionsHandler
-
getDownloadManager
- Specified by:
getDownloadManagerin interfaceDownloadManagerOptionsHandler
-
attributeEventOccurred
- Specified by:
attributeEventOccurredin interfaceDownloadManagerStateAttributeListener
-
addListener
- Specified by:
addListenerin interfaceDownloadManagerOptionsHandler
-
removeListener
- Specified by:
removeListenerin interfaceDownloadManagerOptionsHandler
-