net.sourceforge.rssowl.controller.statusline
Class StatusLineAnimator

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.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

Field Summary
private  org.eclipse.swt.widgets.Display display
           
(package private)  int progress
           
private static int PROGRESS_UPDATE_INTERVAL
          Interval to update the progress bar
(package private)  GUI rssOwlGui
           
(package private)  org.eclipse.swt.widgets.Label statusProgressBar
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 display
rssOwlGui - The main controller
statusProgressBar - The widget to set the progress image
initProgress - The initial progress value (0-100)
Method Detail

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

SourceForge.net Logo