org.gudy.azureus2.ui.swt.mainwindow
Class MainStatusBar
java.lang.Object
org.gudy.azureus2.ui.swt.mainwindow.MainStatusBar
- All Implemented Interfaces:
- UIUpdatable, UIUpdatableAlways, IMainStatusBar
public class MainStatusBar
- extends Object
- implements IMainStatusBar, UIUpdatableAlways
Moved from MainWindow and GUIUpdater
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainStatusBar
public MainStatusBar()
initStatusBar
public org.eclipse.swt.widgets.Composite initStatusBar(org.eclipse.swt.widgets.Composite _parent)
- Returns:
- composite holding the statusbar
updateStatusWarnings
protected void updateStatusWarnings(LogAlert current_alert,
boolean current_added)
relayout
public void relayout()
setStatusText
public void setStatusText(String keyedSentence)
- Specified by:
setStatusText
in interface IMainStatusBar
- Parameters:
keyedSentence
-
setStatusText
public void setStatusText(int statustype,
String string,
UIStatusTextClickListener l)
- Specified by:
setStatusText
in interface IMainStatusBar
- Parameters:
statustype
- string
- l
-
updateStatusText
public void updateStatusText()
refreshStatusText
public void refreshStatusText()
setUpdateNeeded
public void setUpdateNeeded(UpdateWindow updateWindow)
- Specified by:
setUpdateNeeded
in interface IMainStatusBar
- Parameters:
updateWindow
-
updateUI
public void updateUI()
- Description copied from interface:
UIUpdatable
- Update your UI!
- Specified by:
updateUI
in interface UIUpdatable
updateUI
public void updateUI(boolean is_visible)
- Specified by:
updateUI
in interface UIUpdatableAlways
setDebugInfo
public void setDebugInfo(String string)
- Specified by:
setDebugInfo
in interface IMainStatusBar
- Parameters:
string
-
isMouseOver
public boolean isMouseOver()
- Specified by:
isMouseOver
in interface IMainStatusBar
createStatusEntry
public void createStatusEntry(IMainStatusBar.CLabelUpdater updater)
- Specified by:
createStatusEntry
in interface IMainStatusBar
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()
getUpdateUIName
public String getUpdateUIName()
- Description copied from interface:
UIUpdatable
- A name for this UIUpdatable so we can track who's being bad
- Specified by:
getUpdateUIName
in interface UIUpdatable
- Returns:
- some name