Class DHTOpsView
java.lang.Object
com.biglybt.ui.swt.views.stats.DHTOpsView
- All Implemented Interfaces:
UISWTViewEventListener, UISWTViewCoreEventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate Core(package private) DHTprivate intstatic final intstatic final int(package private) DHTOpsPanelstatic final String(package private) org.eclipse.swt.widgets.Compositeprivate UISWTView -
Constructor Summary
ConstructorsConstructorDescriptionDHTOpsView(boolean autoAlpha) DHTOpsView(boolean autoAlpha, boolean autoDHT) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleaneventOccurred(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Compositeprivate Stringprivate voidvoidinitialize(org.eclipse.swt.widgets.Composite composite) private voidrefresh()voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
DHT_TYPE_MAIN
public static final int DHT_TYPE_MAIN- See Also:
-
DHT_TYPE_MAIN_V6
public static final int DHT_TYPE_MAIN_V6- See Also:
-
MSGID_PREFIX
- See Also:
-
dht
DHT dht -
panel
org.eclipse.swt.widgets.Composite panel -
drawPanel
DHTOpsPanel drawPanel -
autoAlpha
private final boolean autoAlpha -
autoDHT
private final boolean autoDHT -
dht_type
private int dht_type -
core
-
swtView
-
-
Constructor Details
-
DHTOpsView
public DHTOpsView() -
DHTOpsView
public DHTOpsView(boolean autoAlpha) -
DHTOpsView
public DHTOpsView(boolean autoAlpha, boolean autoDHT)
-
-
Method Details
-
init
-
setDHT
-
initialize
public void initialize(org.eclipse.swt.widgets.Composite composite) -
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
refresh
private void refresh() -
getTitleID
-
delete
public void delete() -
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
-