|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdialogs.FileIOProgress
public class FileIOProgress
Instances of this class creates a new dialog showing the progress of an IO operation
| Constructor Summary | |
|---|---|
FileIOProgress(org.eclipse.swt.widgets.Shell sShell)
Creates a new instance of FileIOProgress dialog given it's parent Shell |
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
openImage(java.lang.String file)
Method that opens an image (jpeg or png) |
boolean |
saveImage(java.awt.image.BufferedImage image,
java.lang.String file)
Save a given image to png format in the given file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileIOProgress(org.eclipse.swt.widgets.Shell sShell)
sShell - the Shell to be used as modal| Method Detail |
|---|
public boolean saveImage(java.awt.image.BufferedImage image,
java.lang.String file)
image - the image to savefile - the file used to save the image
public java.awt.image.BufferedImage openImage(java.lang.String file)
file - the file that is to be read
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||