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
  • Field Details

    • MSGID_PREFIX

      public static final String 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

      private GlobalManager global_manager
    • stats

      private GlobalManagerStats stats
    • speedManager

      private SpeedManager speedManager
    • totalStats

      private OverallStats 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

      private MultiPlotGraphic history_mpg
    • blahPanel

      private org.eclipse.swt.widgets.Composite blahPanel
    • asn

      private BufferedLabel asn
    • estUpCap

      private BufferedLabel estUpCap
    • estDownCap

      private BufferedLabel estDownCap
    • uploadBiaser

      private BufferedLabel uploadBiaser
    • currentIP

      private BufferedLabel currentIP
    • connectionPanel

      private org.eclipse.swt.widgets.Composite connectionPanel
    • upload_label

      private BufferedLabel upload_label
    • connection_label

      private BufferedLabel connection_label
    • upload_graphic

      private SpeedGraphic upload_graphic
    • connection_graphic

      private SpeedGraphic 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

      private BufferedLabel[][] route_labels
    • route_last_seen

      private Map<String,Long> route_last_seen
    • generalPanel

      private org.eclipse.swt.widgets.Composite generalPanel
    • totalLabel

      private BufferedLabel totalLabel
    • nowUp

      private BufferedLabel nowUp
    • nowDown

      private BufferedLabel nowDown
    • sessionDown

      private BufferedLabel sessionDown
    • sessionUp

      private BufferedLabel sessionUp
    • session_ratio

      private BufferedLabel session_ratio
    • sessionTime

      private BufferedLabel sessionTime
    • totalDown

      private BufferedLabel totalDown
    • totalUp

      private BufferedLabel totalUp
    • total_ratio

      private BufferedLabel total_ratio
    • totalTime

      private BufferedLabel totalTime
    • socksState

      private org.eclipse.swt.widgets.Label socksState
    • socksCurrent

      private BufferedLabel socksCurrent
    • socksFails

      private BufferedLabel 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

      private PingGraphic pingGraph
    • plot_views

      private TransferStatsView.plotView[] plot_views
    • zone_views

      private TransferStatsView.zoneView[] zone_views
    • limit_to_text

      private LimitToTextHelper limit_to_text
    • formatter

      private final DecimalFormat formatter
    • initialised

      private boolean initialised
    • swtView

      private UISWTView 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

      protected String getMapperTitle(SpeedManagerPingMapper mapper)
    • createHistoryPanel

      private void createHistoryPanel()
    • refreshHistory

      private void refreshHistory()
    • getTotalUsageInPeriod

      private long[] getTotalUsageInPeriod(LongTermStats lt_stats, long start, long end)
    • reverse

      private void reverse(long[] a)
    • eventOccurred

      public boolean eventOccurred(UISWTViewEvent event)
      Description copied from interface: UISWTViewEventListener
      Triggers when an even listed in UISWTViewEvent occurs
      Specified by:
      eventOccurred in interface UISWTViewEventListener
      Parameters:
      event - event that occurred
      Returns:
      meaning dependent upon event type