Class DownloadActivityView

java.lang.Object
com.biglybt.ui.swt.views.DownloadActivityView
All Implemented Interfaces:
ParameterListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, ViewTitleInfo, ViewTitleInfo2, MdiSWTMenuHackListener, UISWTViewEventListener, UISWTViewCoreEventListener

aka "Speed" sub view
  • Field Details

    • MSGID_PREFIX

      public static final String MSGID_PREFIX
      See Also:
    • mpg_colors

      private static org.eclipse.swt.graphics.Color[] mpg_colors
    • ETA_AVERAGE_TICKS

      private static final int ETA_AVERAGE_TICKS
      See Also:
    • eta_colors

      private static org.eclipse.swt.graphics.Color[] eta_colors
    • swtView

      private UISWTView swtView
    • legend_at_bottom

      private boolean legend_at_bottom
    • panel

      private org.eclipse.swt.widgets.Composite panel
    • viewBuilt

      private boolean viewBuilt
    • mpg

      private MultiPlotGraphic mpg
    • eta

      private MultiPlotGraphic eta
    • managers

      private List<DownloadManager> managers
    • parent

      private org.eclipse.swt.widgets.Composite parent
    • show_time

      private boolean show_time
    • comp_visible

      private boolean comp_visible
    • visible_pending_ds

      private Object visible_pending_ds
  • Constructor Details

    • DownloadActivityView

      public DownloadActivityView()
  • Method Details

    • getFullTitle

      private String getFullTitle()
    • getTitleInfoProperty

      public Object getTitleInfoProperty(int propertyID)
      Specified by:
      getTitleInfoProperty in interface ViewTitleInfo
      Parameters:
      propertyID - TITLE_*
      Returns:
      value, or null if you don't want to set it
    • initialize

      public void initialize(org.eclipse.swt.widgets.Composite parent)
    • fillPanel

      private void fillPanel()
    • refresh

      private void refresh(boolean force)
    • getComposite

      public org.eclipse.swt.widgets.Composite getComposite()
    • setVisible

      private void setVisible(boolean vis)
    • dataSourceChanged

      public void dataSourceChanged(Object newDataSource)
    • rebuild

      private void rebuild()
    • parameterChanged

      public void parameterChanged(String parameterName)
      Description copied from interface: ParameterListener
      Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.
      Specified by:
      parameterChanged in interface ParameterListener
      Parameters:
      parameterName - the name of the parameter that has changed
    • create

      private void create()
    • setSwtView

      private void setSwtView(UISWTView swtView)
    • delete

      private 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 interface UISWTViewEventListener
      Parameters:
      event - event that occurred
      Returns:
      meaning dependent upon event type
    • titleInfoLinked

      public void titleInfoLinked(MultipleDocumentInterface mdi, MdiEntry mdiEntry)
      Specified by:
      titleInfoLinked in interface ViewTitleInfo2
    • toolBarItemActivated

      public boolean toolBarItemActivated(ToolBarItem item, long activationType, Object datasource)
      Description copied from interface: UIToolBarActivationListener
      XXX Should have been UIToolBarItem
      Specified by:
      toolBarItemActivated in interface UIToolBarActivationListener
    • refreshToolBarItems

      public void refreshToolBarItems(Map<String,Long> list)
      Description copied from interface: UIPluginViewToolBarListener
      Fill in list with the toolbar ids and states you wish to set
      Specified by:
      refreshToolBarItems in interface UIPluginViewToolBarListener