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 DownloadManagerOptionsHandler
DownloadManagerOptionsHandler.ParameterChangeListener -
Field Summary
FieldsFields inherited from interface 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) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DownloadManagerStateAttributeListener
alwaysInform
-
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
-