Class SubscriptionListWindow
java.lang.Object
com.biglybt.ui.swt.subscriptions.SubscriptionListWindow
- All Implemented Interfaces:
SubscriptionLookupListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.eclipse.swt.widgets.Button(package private) AnimatedImageprivate org.eclipse.swt.widgets.Displayprivate final String(package private) org.eclipse.swt.widgets.Composite(package private) boolean(package private) org.eclipse.swt.widgets.Composite(package private) org.eclipse.swt.widgets.ProgressBar(package private) org.eclipse.swt.widgets.Label(package private) SubscriptionAssociationLookup(package private) org.eclipse.swt.widgets.Composite(package private) org.eclipse.swt.custom.StackLayoutprivate final String[]private org.eclipse.swt.widgets.Shell(package private) SubscriptionListWindow.SubscriptionItemModel[](package private) org.eclipse.swt.widgets.Tableprivate final byte[]private final boolean -
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionListWindow(org.eclipse.swt.widgets.Shell parent, String display_name, byte[] torrent_hash, String[] networks, boolean useCachedSubs) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(byte[] hash, Subscription[] subscriptions) voidfailed(byte[] hash, SubscriptionException error) voidfound(byte[] hash, Subscription subscription) private voidprivate voidprotected voidupdate(SubscriptionListWindow.SubscriptionItemModel subscriptionItem, long popularity, String text)
-
Field Details
-
display_name
-
torrent_hash
private final byte[] torrent_hash -
networks
-
useCachedSubs
private final boolean useCachedSubs -
display
private org.eclipse.swt.widgets.Display display -
shell
private org.eclipse.swt.widgets.Shell shell -
animatedImage
AnimatedImage animatedImage -
action
org.eclipse.swt.widgets.Button action -
loadingText
org.eclipse.swt.widgets.Label loadingText -
loadingProgress
org.eclipse.swt.widgets.ProgressBar loadingProgress -
loadingDone
boolean loadingDone -
lookup
-
mainComposite
org.eclipse.swt.widgets.Composite mainComposite -
loadingPanel
org.eclipse.swt.widgets.Composite loadingPanel -
listPanel
org.eclipse.swt.widgets.Composite listPanel -
subscriptionsList
org.eclipse.swt.widgets.Table subscriptionsList -
mainLayout
org.eclipse.swt.custom.StackLayout mainLayout -
subscriptionItems
SubscriptionListWindow.SubscriptionItemModel[] subscriptionItems
-
-
Constructor Details
-
SubscriptionListWindow
-
-
Method Details
-
startChecking
private void startChecking() -
found
- Specified by:
foundin interfaceSubscriptionLookupListener
-
complete
- Specified by:
completein interfaceSubscriptionLookupListener
-
update
protected void update(SubscriptionListWindow.SubscriptionItemModel subscriptionItem, long popularity, String text) -
sortAndRefresh
private void sortAndRefresh() -
failed
- Specified by:
failedin interfaceSubscriptionLookupListener
-