de.enough.polish.ui.tasks
Class ImageTask
java.lang.Object
java.util.TimerTask
de.enough.polish.ui.tasks.ImageTask
- All Implemented Interfaces:
- Runnable
public class ImageTask
- extends TimerTask
Loads an Image in the background using a Timer.
The user needs to schedule this task at the timer himself/herself.
- Author:
- Robert Virkus, robert@enough.de
history
05-Jan-2004 - rob creation
|
Method Summary |
void |
run()
tries to load the image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageTask
public ImageTask(String url)
- Creates a new ImageTask.
- Parameters:
url - the URL of the image, e.g. "/background.png"
run
public void run()
- tries to load the image.
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask