net.sourceforge.rssowl.controller.statusline
Class StatusLineAnimator
java.lang.Object
java.lang.Thread
net.sourceforge.rssowl.controller.statusline.StatusLineAnimator
- All Implemented Interfaces:
- Runnable
- public class StatusLineAnimator
- extends Thread
This Thread will animate the status line.
- Version:
- 1.1.3
- Author:
- Benjamin Pasero
Constructor Summary |
StatusLineAnimator(org.eclipse.swt.widgets.Display display,
GUI rssOwlGui,
org.eclipse.swt.widgets.Label statusProgressBar,
int initProgress)
Instantiate a new StatusLineAnimator |
Method Summary |
void |
run()
|
(package private) void |
updateProgressBar(int value)
Update the progress bar value |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
PROGRESS_UPDATE_INTERVAL
private static final int PROGRESS_UPDATE_INTERVAL
- Interval to update the progress bar
- See Also:
- Constant Field Values
display
private org.eclipse.swt.widgets.Display display
progress
int progress
rssOwlGui
GUI rssOwlGui
statusProgressBar
org.eclipse.swt.widgets.Label statusProgressBar
StatusLineAnimator
public StatusLineAnimator(org.eclipse.swt.widgets.Display display,
GUI rssOwlGui,
org.eclipse.swt.widgets.Label statusProgressBar,
int initProgress)
- Instantiate a new StatusLineAnimator
- Parameters:
display
- The displayrssOwlGui
- The main controllerstatusProgressBar
- The widget to set the progress imageinitProgress
- The initial progress value (0-100)
run
public void run()
- See Also:
Thread.run()
updateProgressBar
void updateProgressBar(int value)
- Update the progress bar value
- Parameters:
value
- The int value
RSSOwl - RSS / RDF / Atom Newsreader