Package com.biglybt.ui.swt.views.stats
Class StatsView
- java.lang.Object
-
- com.biglybt.ui.swt.views.stats.StatsView
-
- All Implemented Interfaces:
UISWTViewEventListener
,UISWTViewCoreEventListener
,IViewAlwaysInitialize
public class StatsView extends java.lang.Object implements IViewAlwaysInitialize, UISWTViewCoreEventListener
aka "Statistics View" that containsActivityView
,TransferStatsView
,CacheView
,DHTView
,VivaldiView
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
StatsView.UpdateThread
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
dataSource
static int
EVENT_PERIODIC_UPDATE
private org.eclipse.swt.widgets.Composite
parent
private UISWTView
swtView
private TabbedMDI
tabbedMDI
private StatsView.UpdateThread
updateThread
static java.lang.String
VIEW_ID
-
Constructor Summary
Constructors Constructor Description StatsView()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
dataSourceChanged(java.lang.Object newDataSource)
private void
delete()
boolean
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occursstatic java.lang.String
getFullTitle()
private void
initialize(org.eclipse.swt.widgets.Composite composite)
private void
refresh()
private static void
registerPluginViews()
-
-
-
Field Detail
-
VIEW_ID
public static java.lang.String VIEW_ID
-
EVENT_PERIODIC_UPDATE
public static final int EVENT_PERIODIC_UPDATE
- See Also:
- Constant Field Values
-
tabbedMDI
private TabbedMDI tabbedMDI
-
updateThread
private StatsView.UpdateThread updateThread
-
dataSource
private java.lang.Object dataSource
-
swtView
private UISWTView swtView
-
parent
private org.eclipse.swt.widgets.Composite parent
-
-
Method Detail
-
initialize
private void initialize(org.eclipse.swt.widgets.Composite composite)
-
registerPluginViews
private static void registerPluginViews()
-
refresh
private void refresh()
-
getFullTitle
public static java.lang.String getFullTitle()
-
delete
private void delete()
-
dataSourceChanged
private void dataSourceChanged(java.lang.Object newDataSource)
-
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
-
-