Package com.biglybt.ui.swt.views
Class TorrentOptionsView
java.lang.Object
com.biglybt.ui.swt.views.TorrentOptionsView
- All Implemented Interfaces:
DownloadManagerOptionsHandler.ParameterChangeListener
,UISWTViewEventListener
,UISWTViewCoreEventListener
public class TorrentOptionsView
extends Object
implements UISWTViewCoreEventListener, DownloadManagerOptionsHandler.ParameterChangeListener
aka "Options" Tab in Torrent Details,
and torrent view right click -> "Options/Info" when multiple selected
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
private static class
protected class
protected class
protected class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map
<String, BaseSwtParameter<?, ?>> private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private Map
<String, BaseSwtParameter<?, ?>> private org.eclipse.swt.graphics.Font
private DownloadManagerOptionsHandler[]
private static final String
private static final String
static final String
private boolean
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.custom.ScrolledComposite
private UISWTView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
dataSourceChanged
(Object newDataSource) private void
delete()
boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
private String
private void
initialize
(org.eclipse.swt.widgets.Composite composite) void
private void
refresh()
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
MAX_UPLOAD
- See Also:
-
MAX_DOWNLOAD
- See Also:
-
MSGID_PREFIX
- See Also:
-
multi_view
private boolean multi_view -
managers
-
ds_boolparam_adapter
-
ds_intparam_adapter
-
ds_floatparam_adapter
-
adhoc_param_adapter
-
adhoc_parameters
-
ds_parameters
-
sc
private org.eclipse.swt.custom.ScrolledComposite sc -
headerFont
private org.eclipse.swt.graphics.Font headerFont -
agg_size
-
agg_remaining
-
agg_uploaded
-
agg_downloaded
-
agg_upload_speed
-
agg_download_speed
-
parent
private org.eclipse.swt.widgets.Composite parent -
swtView
-
-
Constructor Details
-
TorrentOptionsView
public TorrentOptionsView()
-
-
Method Details
-
initialize
private void initialize(org.eclipse.swt.widgets.Composite composite) -
refresh
private void refresh() -
setDefaults
protected void setDefaults() -
parameterChanged
- Specified by:
parameterChanged
in interfaceDownloadManagerOptionsHandler.ParameterChangeListener
-
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
getFullTitle
-
delete
private void delete() -
dataSourceChanged
-
eventOccurred
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-