|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mp3dings.utils.ImageSaveRunnable
public class ImageSaveRunnable
This class copies files in a background thread. Progress is indicated in a Status Bar. In case of an exception file copying is suspended and the user is asked what to do in a JDialog. If the Status Bar is part of a container hierarchy the error dialog will be owned by the window ancestor of the Status bar.
| Constructor Summary | |
|---|---|
ImageSaveRunnable(File dest,
File[] src,
APICImage[] img)
|
|
| Method Summary | |
|---|---|
void |
finished()
Should be overwritten. |
int |
getImagesSaved()
Returns the number of files copied so far. |
StatusBar |
getStatusBar()
Returns the StatusBar in which this FileCopyRunnable displays its status messages. |
int |
getTotalImages()
|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageSaveRunnable(File dest,
File[] src,
APICImage[] img)
| Method Detail |
|---|
public void run()
run in interface Runnablepublic StatusBar getStatusBar()
public int getImagesSaved()
public int getTotalImages()
public void finished()
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||