org.gudy.azureus2.ui.swt.minibar
Class DownloadBar

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.minibar.MiniBar
      extended by org.gudy.azureus2.ui.swt.minibar.DownloadBar
All Implemented Interfaces:
MenuBuildUtils.MenuBuilder

public class DownloadBar
extends MiniBar

Author:
Allan Crooks

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.swt.minibar.MiniBar
MiniBar.ProgressBarText
 
Field Summary
 
Fields inherited from class org.gudy.azureus2.ui.swt.minibar.MiniBar
hSize, lDrag, moving, screens, splash, stucked, xPressed, yPressed
 
Method Summary
 void beginConstruction()
           
 void buildMenu(org.eclipse.swt.widgets.Menu menu, org.eclipse.swt.events.MenuEvent menuEvent)
           
static void close(DownloadManager download)
           
protected  void doubleClick()
           
 Object getContextObject()
           
static MiniBarManager getManager()
           
 Object[] getPluginMenuContextObjects()
           
 String[] getPluginMenuIdentifiers(Object[] context)
           
static DownloadBar open(DownloadManager download, org.eclipse.swt.widgets.Shell main)
           
protected  void refresh0()
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.minibar.MiniBar
buildMenu, close, construct, createDataLabel, createDataLabel, createFixedLabel, createFixedTextLabel, createGap, createPercentProgressBar, createProgressBar, createSpeedLabel, dispose, forceSaveLocation, getInitialLocation, getShell, getStucked, hasContext, hasSameContext, refresh, setSnapLocation, setStucked, setVisible, storeLastLocation, updateSpeedLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getManager

public static MiniBarManager getManager()

open

public static DownloadBar open(DownloadManager download,
                               org.eclipse.swt.widgets.Shell main)

close

public static void close(DownloadManager download)

getContextObject

public Object getContextObject()
Specified by:
getContextObject in class MiniBar

beginConstruction

public void beginConstruction()
Specified by:
beginConstruction in class MiniBar

buildMenu

public void buildMenu(org.eclipse.swt.widgets.Menu menu,
                      org.eclipse.swt.events.MenuEvent menuEvent)

refresh0

protected void refresh0()
Specified by:
refresh0 in class MiniBar

doubleClick

protected void doubleClick()
Overrides:
doubleClick in class MiniBar

getPluginMenuIdentifiers

public String[] getPluginMenuIdentifiers(Object[] context)
Overrides:
getPluginMenuIdentifiers in class MiniBar

getPluginMenuContextObjects

public Object[] getPluginMenuContextObjects()
Overrides:
getPluginMenuContextObjects in class MiniBar