Package com.biglybt.ui.swt.views.stats
Class DHTOpsView
- java.lang.Object
-
- com.biglybt.ui.swt.views.stats.DHTOpsView
-
- All Implemented Interfaces:
UISWTViewEventListener
,UISWTViewCoreEventListener
public class DHTOpsView extends java.lang.Object implements UISWTViewCoreEventListener
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
autoAlpha
private boolean
autoDHT
private Core
core
(package private) DHT
dht
private int
dht_type
static int
DHT_TYPE_MAIN
static int
DHT_TYPE_MAIN_V6
(package private) DHTOpsPanel
drawPanel
static java.lang.String
MSGID_PREFIX
(package private) org.eclipse.swt.widgets.Composite
panel
private UISWTView
swtView
-
Constructor Summary
Constructors Constructor Description DHTOpsView()
DHTOpsView(boolean autoAlpha)
DHTOpsView(boolean autoAlpha, boolean autoDHT)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
getComposite()
private java.lang.String
getTitleID()
private void
init(Core core)
void
initialize(org.eclipse.swt.widgets.Composite composite)
private void
refresh()
void
setDHT(DHT _dht)
-
-
-
Field Detail
-
DHT_TYPE_MAIN
public static final int DHT_TYPE_MAIN
- See Also:
- Constant Field Values
-
DHT_TYPE_MAIN_V6
public static final int DHT_TYPE_MAIN_V6
- See Also:
- Constant Field Values
-
MSGID_PREFIX
public static final java.lang.String MSGID_PREFIX
- See Also:
- Constant Field Values
-
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
private Core core
-
swtView
private UISWTView swtView
-
-
Method Detail
-
init
private void init(Core core)
-
setDHT
public void setDHT(DHT _dht)
-
initialize
public void initialize(org.eclipse.swt.widgets.Composite composite)
-
getComposite
private org.eclipse.swt.widgets.Composite getComposite()
-
refresh
private void refresh()
-
getTitleID
private java.lang.String getTitleID()
-
delete
public void delete()
-
eventOccurred
public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-
-