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 Objectprivate DownloadManagerprivate TabbedMdiInterfaceprivate static final StringFields inherited from interface SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMESFields inherited from interface UIToolBarActivationListener
ACTIVATIONTYPE_HELD, ACTIVATIONTYPE_NORMAL, ACTIVATIONTYPE_RIGHTCLICK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompletionChanged(DownloadManager manager, boolean bCompleted) Notification that the completion state has changed.voidcurrentlySelectedContentChanged(ISelectedContent[] currentContent, String viewId) dataSourceChanged(SWTSkinObject skinObject, Object params) private voiddataSourceChanged(Object newDataSource) private voiddelete()voiddownloadComplete(DownloadManager manager) Notification that we were downloading and the download has completedvoidfilePriorityChanged(DownloadManager download, DiskManagerFileInfo file) private BaseMdiEntryprivate voidinitialize(SWTSkinObjectTabFolder soTabFolder) voidpositionChanged(DownloadManager download, int oldPosition, int newPosition) voidrefreshToolBarItems(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) voidstateChanged(DownloadManager manager, int state) booleantoolBarItemActivated(ToolBarItem item, long activationType, Object datasource) XXX Should have been UIToolBarItemMethods inherited from class SkinView
getMainSkinObject, getMdiEntry, getSkin, getSkinObject, isDisposed, isVisible, setMainSkinObject, skinObjectCreated, skinObjectHidden, skinObjectShownMethods inherited from class SWTSkinObjectAdapter
eventOccured, skinObjectSelected, updateLanguageMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DownloadManagerListener
fileLocationChangedMethods inherited from interface 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:
currentlySelectedContentChangedin interfaceSelectedContentListener
-
refreshToolBarItems
Description copied from interface:UIPluginViewToolBarListenerFill in list with the toolbar ids and states you wish to set- Specified by:
refreshToolBarItemsin interfaceUIPluginViewToolBarListener- Parameters:
list-
-
toolBarItemActivated
Description copied from interface:UIToolBarActivationListenerXXX Should have been UIToolBarItem- Specified by:
toolBarItemActivatedin interfaceUIToolBarActivationListener
-
downloadComplete
Description copied from interface:DownloadManagerListenerNotification that we were downloading and the download has completed- Specified by:
downloadCompletein interfaceDownloadManagerListener
-
completionChanged
Description copied from interface:DownloadManagerListenerNotification 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:
completionChangedin interfaceDownloadManagerListener
-
filePriorityChanged
- Specified by:
filePriorityChangedin interfaceDownloadManagerListener
-
stateChanged
- Specified by:
stateChangedin interfaceDownloadManagerListener
-
positionChanged
- Specified by:
positionChangedin interfaceDownloadManagerListener
-
getDownload
-
skinObjectInitialShow
- Specified by:
skinObjectInitialShowin classSkinView- Parameters:
skinObject-params-- Returns:
-
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapterSkin Object was destroyed- Overrides:
skinObjectDestroyedin classSkinView
-
dataSourceChanged
- Overrides:
dataSourceChangedin classSWTSkinObjectAdapter
-
getActiveView
-