Package com.biglybt.ui.swt.views.skin
Class SBC_TorrentDetailsView
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
com.biglybt.ui.swt.views.skin.SBC_TorrentDetailsView
- All Implemented Interfaces:
DownloadManagerListener
,UIToolBarActivationListener
,UIToolBarEnablerBase
,UIPluginViewToolBarListener
,SelectedContentListener
,SWTSkinObjectListener
public class SBC_TorrentDetailsView
extends SkinView
implements DownloadManagerListener, UIPluginViewToolBarListener, SelectedContentListener
Torrent download view, consisting of several information tabs
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object
private DownloadManager
private TabbedMdiInterface
private static final String
Fields inherited from interface com.biglybt.ui.swt.skin.SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMES
Fields inherited from interface com.biglybt.pif.ui.toolbar.UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
completionChanged
(DownloadManager manager, boolean bCompleted) Notification that the completion state has changed.void
currentlySelectedContentChanged
(ISelectedContent[] currentContent, String viewId) dataSourceChanged
(SWTSkinObject skinObject, Object params) private void
dataSourceChanged
(Object newDataSource) private void
delete()
void
downloadComplete
(DownloadManager manager) Notification that we were downloading and the download has completedvoid
filePriorityChanged
(DownloadManager download, DiskManagerFileInfo file) private BaseMdiEntry
private void
initialize
(SWTSkinObjectTabFolder soTabFolder) void
positionChanged
(DownloadManager download, int oldPosition, int newPosition) void
refreshToolBarItems
(Map<String, Long> list) Fill in list with the toolbar ids and states you wish to setskinObjectDestroyed
(SWTSkinObject skinObject, Object params) Skin Object was destroyedskinObjectInitialShow
(SWTSkinObject skinObject, Object params) void
stateChanged
(DownloadManager manager, int state) boolean
toolBarItemActivated
(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemMethods inherited from class com.biglybt.ui.swt.views.skin.SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectHidden, skinObjectShown
Methods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
eventOccured, skinObjectSelected, updateLanguage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.core.download.DownloadManagerListener
fileLocationChanged
Methods inherited from interface com.biglybt.pif.ui.UIPluginViewToolBarListener
isActive
-
Field Details
-
VIEW_ID
- See Also:
-
manager
-
tabbedMDI
-
dataSource
-
-
Constructor Details
-
SBC_TorrentDetailsView
public SBC_TorrentDetailsView()
-
-
Method Details
-
dataSourceChanged
-
delete
private void delete() -
initialize
-
currentlySelectedContentChanged
- Specified by:
currentlySelectedContentChanged
in interfaceSelectedContentListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListener
Fill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItems
in interfaceUIPluginViewToolBarListener
- Parameters:
list
-
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListener
XXX Should have been UIToolBarItem- Specified by:
toolBarItemActivated
in interfaceUIToolBarActivationListener
-
downloadComplete
Description copied from interface:DownloadManagerListener
Notification that we were downloading and the download has completed- Specified by:
downloadComplete
in interfaceDownloadManagerListener
-
completionChanged
Description copied from interface:DownloadManagerListener
Notification that the completion state has changed. Tells you when we switched from Completed to Incompleted (or visa versa) Does not get called when diskManager goes into CHECKING, but does when it goes out of CHECKING, to avoid torrents jumping momentarily from Completed to Incompleted to Completed again.- Specified by:
completionChanged
in interfaceDownloadManagerListener
-
filePriorityChanged
- Specified by:
filePriorityChanged
in interfaceDownloadManagerListener
-
stateChanged
- Specified by:
stateChanged
in interfaceDownloadManagerListener
-
positionChanged
- Specified by:
positionChanged
in interfaceDownloadManagerListener
-
getDownload
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShow
in classSkinView
- Parameters:
skinObject
-params
-- Returns:
-
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapter
Skin Object was destroyed- Overrides:
skinObjectDestroyed
in classSkinView
-
dataSourceChanged
- Overrides:
dataSourceChanged
in classSWTSkinObjectAdapter
-
getActiveView
-