Class PrivacyView
java.lang.Object
com.biglybt.ui.swt.views.PrivacyView
- All Implemented Interfaces:
DownloadManagerStateAttributeListener, UISWTViewEventListener, UISWTViewCoreEventListener
public class PrivacyView
extends Object
implements UISWTViewCoreEventListener, DownloadManagerStateAttributeListener
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Compositeprivate DownloadManagerprivate PrivacyView.I2PStackItemprivate booleanprivate org.eclipse.swt.widgets.Groupprivate org.eclipse.swt.widgets.Buttonprivate static booleanprivate static intstatic final Stringprivate org.eclipse.swt.widgets.Button[]private org.eclipse.swt.widgets.Compositeprivate BufferedLabelprivate static final intprivate static final intprivate static final intprivate static final intprivate intprivate org.eclipse.swt.widgets.Scaleprivate org.eclipse.swt.custom.ScrolledCompositeprivate BufferedLabelprivate BufferedLabelprivate org.eclipse.swt.widgets.Labelprivate BufferedLabelprivate org.eclipse.swt.widgets.Button[]private org.eclipse.swt.custom.StackLayoutprivate UISWTViewprivate BufferedLabelprivate BufferedLabelprivate BufferedLabelprivate BufferedLabelFields inherited from interface DownloadManagerStateAttributeListener
WILL_BE_READ, WRITTEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeEventOccurred(DownloadManager download, String attribute, int event_type) private voiddataSourceChanged(Object newDataSource) private voiddelete()booleaneventOccurred(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate Stringprivate voidprivate static voidinjectResult(Download download, int[] result) private voidrefresh()private org.eclipse.swt.layout.GridLayoutremoveMargins(org.eclipse.swt.layout.GridLayout layout) private org.eclipse.swt.layout.GridLayoutremoveMarginsAndSpacing(org.eclipse.swt.layout.GridLayout layout) private voidsetPrivacyLevel(int level) private voidprivate voidprivate voidprivate voidswt_updateFields(DownloadManager old_dm, DownloadManager new_dm) private voidprivate voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DownloadManagerStateAttributeListener
alwaysInformMethods inherited from interface UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
MSGID_PREFIX
- See Also:
-
KEEP_VIEW
private static boolean KEEP_VIEW -
MAX_LOOKUP_HISTORY
private static int MAX_LOOKUP_HISTORY -
swtView
-
cMainComposite
private org.eclipse.swt.widgets.Composite cMainComposite -
sc
private org.eclipse.swt.custom.ScrolledComposite sc -
parent
private org.eclipse.swt.widgets.Composite parent -
PL_PUBLIC
private static final int PL_PUBLIC- See Also:
-
PL_MIX
private static final int PL_MIX- See Also:
-
PL_ANONYMOUS
private static final int PL_ANONYMOUS- See Also:
-
PL_INVALID
private static final int PL_INVALID- See Also:
-
privacy_level
private int privacy_level -
privacy_scale
private org.eclipse.swt.widgets.Scale privacy_scale -
i2p_install_prompted
private boolean i2p_install_prompted -
network_buttons
private org.eclipse.swt.widgets.Button[] network_buttons -
source_buttons
private org.eclipse.swt.widgets.Button[] source_buttons -
ipfilter_enabled
private org.eclipse.swt.widgets.Button ipfilter_enabled -
peer_info
-
torrent_info
-
tracker_info
-
webseed_info
-
vpn_info
-
socks_state
-
socks_current
-
socks_fails
-
socks_more
private org.eclipse.swt.widgets.Label socks_more -
current_dm
-
enabled_networks
-
enabled_sources
-
current_i2p_entry
-
i2p_stack_group
private org.eclipse.swt.widgets.Group i2p_stack_group -
stack_layout
private org.eclipse.swt.custom.StackLayout stack_layout
-
-
Constructor Details
-
PrivacyView
public PrivacyView()
-
-
Method Details
-
getFullTitle
-
eventOccurred
Description copied from interface:UISWTViewEventListenerTriggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurredin interfaceUISWTViewEventListener- Parameters:
event- event that occurred- Returns:
- meaning dependent upon event type
-
delete
private void delete() -
refresh
private void refresh() -
dataSourceChanged
-
initialize
private void initialize() -
injectResult
-
setPrivacyLevel
private void setPrivacyLevel(int level) -
swt_updateFields
-
setupNetworksAndSources
-
setupTorrentTracker
-
updatePeersEtc
-
updateVPNSocks
private void updateVPNSocks() -
attributeEventOccurred
- Specified by:
attributeEventOccurredin interfaceDownloadManagerStateAttributeListener
-
showSOCKSInfo
private void showSOCKSInfo() -
removeMarginsAndSpacing
private org.eclipse.swt.layout.GridLayout removeMarginsAndSpacing(org.eclipse.swt.layout.GridLayout layout) -
removeMargins
private org.eclipse.swt.layout.GridLayout removeMargins(org.eclipse.swt.layout.GridLayout layout)
-