net.sourceforge.rssowl.controller.statusline
Class StatusLineAnimator

java.lang.Object
  extended by java.lang.Thread
      extended by net.sourceforge.rssowl.controller.statusline.StatusLineAnimator
All Implemented Interfaces:
java.lang.Runnable

public class StatusLineAnimator
extends java.lang.Thread

This Thread will animate the status line.

Version:
1.2.4
Author:
Benjamin Pasero

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  Display display
           
(package private)  int progress
           
private static int PROGRESS_UPDATE_INTERVAL
          Interval to update the progress bar
(package private)  GUI rssOwlGui
           
(package private)  Label statusProgressBar
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StatusLineAnimator(Display display, GUI rssOwlGui, 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, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 Display display

progress

int progress

rssOwlGui

GUI rssOwlGui

statusProgressBar

Label statusProgressBar
Constructor Detail

StatusLineAnimator

public StatusLineAnimator(Display display,
                          GUI rssOwlGui,
                          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()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
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