Package com.biglybt.ui.swt.views.stats
Class TransferStatsView
java.lang.Object
com.biglybt.ui.swt.views.stats.TransferStatsView
- All Implemented Interfaces:
UISWTViewEventListener
,UISWTViewCoreEventListener
,IViewRequiresPeriodicUpdates
public class TransferStatsView
extends Object
implements UISWTViewCoreEventListener, IViewRequiresPeriodicUpdates
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
private static class
private static class
private static class
(package private) class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BufferedLabel
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.widgets.Group
private org.eclipse.swt.custom.StackLayout
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.custom.CTabFolder
private SpeedGraphic
private BufferedLabel
private org.eclipse.swt.widgets.Composite
private BufferedLabel
private org.eclipse.swt.widgets.Composite
private BufferedLabel
private BufferedLabel
private final DecimalFormat
private org.eclipse.swt.widgets.Composite
private GlobalManager
private int
private long
private long
private long
private MultiPlotGraphic
private int
private org.eclipse.swt.widgets.Label
private long
private int
private org.eclipse.swt.widgets.Label
private org.eclipse.swt.widgets.Label
private org.eclipse.swt.widgets.Label
private org.eclipse.swt.widgets.Composite
private boolean
private long
private LimitToTextHelper
private org.eclipse.swt.custom.CTabFolder
private static final int
private static final int
static final String
private BufferedLabel
private BufferedLabel
private PingGraphic
private TransferStatsView.plotView[]
private org.eclipse.swt.widgets.Composite
private BufferedLabel[][]
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private BufferedLabel
private org.eclipse.swt.widgets.Label
private org.eclipse.swt.widgets.Label
private int
private SpeedManager
private GlobalManagerStats
private UISWTView
private BufferedLabel
private BufferedLabel
private BufferedLabel
private OverallStats
private BufferedLabel
private BufferedLabel
private SpeedGraphic
private BufferedLabel
private BufferedLabel
private TransferStatsView.zoneView[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
buildRouteComponent
(int rows) private void
private void
private void
private void
private void
private void
delete()
boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
protected String
getMapperTitle
(SpeedManagerPingMapper mapper) private long[]
getTotalUsageInPeriod
(LongTermStats lt_stats, long start, long end) private void
initialize
(org.eclipse.swt.widgets.Composite composite) void
private void
refresh()
private void
private void
private void
private void
private void
private void
reverse
(long[] a) private void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
informOfDuplicates
-
Field Details
-
MSGID_PREFIX
- See Also:
-
MAX_DISPLAYED_PING_MILLIS
private static final int MAX_DISPLAYED_PING_MILLIS- See Also:
-
MAX_DISPLAYED_PING_MILLIS_DISP
private static final int MAX_DISPLAYED_PING_MILLIS_DISP- See Also:
-
global_manager
-
stats
-
speedManager
-
totalStats
-
mainPanel
private org.eclipse.swt.custom.CTabFolder mainPanel -
currentPanel
private org.eclipse.swt.widgets.Composite currentPanel -
historyPanel
private org.eclipse.swt.widgets.Composite historyPanel -
history_mpg
-
blahPanel
private org.eclipse.swt.widgets.Composite blahPanel -
asn
-
estUpCap
-
estDownCap
-
uploadBiaser
-
currentIP
-
connectionPanel
private org.eclipse.swt.widgets.Composite connectionPanel -
upload_label
-
connection_label
-
upload_graphic
-
connection_graphic
-
con_folder
private org.eclipse.swt.custom.CTabFolder con_folder -
last_route_update
private long last_route_update -
route_comp
private org.eclipse.swt.widgets.Composite route_comp -
route_labels
-
route_last_seen
-
generalPanel
private org.eclipse.swt.widgets.Composite generalPanel -
totalLabel
-
nowUp
-
nowDown
-
sessionDown
-
sessionUp
-
session_ratio
-
sessionTime
-
totalDown
-
totalUp
-
total_ratio
-
totalTime
-
socksState
private org.eclipse.swt.widgets.Label socksState -
socksCurrent
-
socksFails
-
socksMore
private org.eclipse.swt.widgets.Label socksMore -
autoSpeedPanel
private org.eclipse.swt.widgets.Group autoSpeedPanel -
autoSpeedPanelLayout
private org.eclipse.swt.custom.StackLayout autoSpeedPanelLayout -
autoSpeedInfoPanel
private org.eclipse.swt.widgets.Composite autoSpeedInfoPanel -
autoSpeedDisabledPanel
private org.eclipse.swt.widgets.Composite autoSpeedDisabledPanel -
pingGraph
-
plot_views
-
zone_views
-
limit_to_text
-
formatter
-
initialised
private boolean initialised -
swtView
-
history_scale_div
private volatile long history_scale_div -
history_selected_span_suffix
private volatile int history_selected_span_suffix -
SPAN_ALL_TIME
private int SPAN_ALL_TIME -
history_period_offset
private int history_period_offset -
history_resolution
private org.eclipse.swt.widgets.Label history_resolution -
history_span
private org.eclipse.swt.widgets.Label history_span -
history_total_down
private org.eclipse.swt.widgets.Label history_total_down -
history_total_up
private org.eclipse.swt.widgets.Label history_total_up -
history_last_span
private long history_last_span -
history_last_period
private long history_last_period -
history_last_width
private long history_last_width -
history_last_offset
private int history_last_offset
-
-
Constructor Details
-
TransferStatsView
public TransferStatsView()
-
-
Method Details
-
initialize
private void initialize(org.eclipse.swt.widgets.Composite composite) -
createGeneralPanel
private void createGeneralPanel() -
showSOCKSInfo
private void showSOCKSInfo() -
createCapacityPanel
private void createCapacityPanel() -
createConnectionPanel
private void createConnectionPanel() -
buildRouteComponent
private void buildRouteComponent(int rows) -
createAutoSpeedPanel
private void createAutoSpeedPanel() -
delete
private void delete() -
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
refresh
private void refresh() -
refreshGeneral
private void refreshGeneral() -
refreshCapacityPanel
private void refreshCapacityPanel() -
refreshConnectionPanel
private void refreshConnectionPanel() -
refreshPingPanel
private void refreshPingPanel() -
periodicUpdate
public void periodicUpdate() -
getMapperTitle
-
createHistoryPanel
private void createHistoryPanel() -
refreshHistory
private void refreshHistory() -
getTotalUsageInPeriod
-
reverse
private void reverse(long[] a) -
eventOccurred
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
-