Package com.biglybt.ui.swt.subscriptions
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) AnimatedImage
private org.eclipse.swt.widgets.Display
private 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.StackLayout
private final String[]
private org.eclipse.swt.widgets.Shell
(package private) SubscriptionListWindow.SubscriptionItemModel[]
(package private) org.eclipse.swt.widgets.Table
private 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 TypeMethodDescriptionvoid
complete
(byte[] hash, Subscription[] subscriptions) void
failed
(byte[] hash, SubscriptionException error) void
found
(byte[] hash, Subscription subscription) private void
private void
protected void
update
(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:
found
in interfaceSubscriptionLookupListener
-
complete
- Specified by:
complete
in interfaceSubscriptionLookupListener
-
update
protected void update(SubscriptionListWindow.SubscriptionItemModel subscriptionItem, long popularity, String text) -
sortAndRefresh
private void sortAndRefresh() -
failed
- Specified by:
failed
in interfaceSubscriptionLookupListener
-