All Packages Class Hierarchy This Package Previous Next Index
Class fi.faidon.jis.ImageSaverObject
java.lang.Object
|
+----fi.faidon.jis.ImageSaverObject
- public class ImageSaverObject
- extends Object
- implements Serializable
-
ImageSaverObject()
-
-
checkSave()
- Return ImageObserver constants for indicating the state of the image saving.
-
saveAsBMP()
- Show the "Save As..." dialog and then save the image in Windows BMP format.
-
saveAsPICT()
- Show the "Save As..." dialog and then save the image in PICT format.
-
saveAsTarga()
- Show the "Save As..." dialog and then save the image in Targa format.
-
saveAsTIFF()
- Show the "Save As..." dialog and then save the image in TIFF format.
-
saveBMP()
- Save the image in Windows BMP format.
-
saveIt()
- Save the image into a graphics file of the given format.
-
savePICT()
- Save the image in PICT format.
-
saveTarga()
- Save the image in Targa format.
-
saveTIFF()
- Save the image in TIFF format.
-
saveToFile(Image, String, String)
- Save the image into a graphics file of the given format.
-
setSaveFormat(String)
- Set the save format.
-
setSaveImage(Image)
- Set the image to save.
-
setSavePath(String)
- Set the path where the file should be saved.
ImageSaverObject
public ImageSaverObject()
saveIt
public boolean saveIt()
- Save the image into a graphics file of the given format. This
static method is a convenience method which makes it possible
to save an image with just one call. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
checkSave
public int checkSave()
- Return ImageObserver constants for indicating the state of the image saving.
saveToFile
public boolean saveToFile(Image theImage,
String thePath,
String formatCode)
- Save the image into a graphics file of the given format. This
method is a convenience method which makes it possible
to save an image with just one call. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
setSaveImage
public void setSaveImage(Image img)
- Set the image to save.
setSavePath
public void setSavePath(String path)
- Set the path where the file should be saved.
setSaveFormat
public void setSaveFormat(String f)
- Set the save format.
saveTIFF
public boolean saveTIFF()
- Save the image in TIFF format. "saveImage" and "savePath" have to be set
before. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
saveTarga
public boolean saveTarga()
- Save the image in Targa format. "saveImage" and "savePath" have to be set
before. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
savePICT
public boolean savePICT()
- Save the image in PICT format. "saveImage" and "savePath" have to be set
before. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
saveBMP
public boolean saveBMP()
- Save the image in Windows BMP format. "saveImage" and "savePath" have to be set
before. Return true if success, false otherwise.
REMARK! This is an asynchronous operation. Use checkSave() to know when
the saving is finished and how.
saveAsTIFF
public void saveAsTIFF()
- Show the "Save As..." dialog and then save the image in TIFF format.
saveAsTarga
public void saveAsTarga()
- Show the "Save As..." dialog and then save the image in Targa format.
saveAsPICT
public void saveAsPICT()
- Show the "Save As..." dialog and then save the image in PICT format.
saveAsBMP
public void saveAsBMP()
- Show the "Save As..." dialog and then save the image in Windows BMP format.
All Packages Class Hierarchy This Package Previous Next Index