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

Constructor Index

 o ImageSaverObject()

Method Index

 o checkSave()
Return ImageObserver constants for indicating the state of the image saving.
 o saveAsBMP()
Show the "Save As..." dialog and then save the image in Windows BMP format.
 o saveAsPICT()
Show the "Save As..." dialog and then save the image in PICT format.
 o saveAsTarga()
Show the "Save As..." dialog and then save the image in Targa format.
 o saveAsTIFF()
Show the "Save As..." dialog and then save the image in TIFF format.
 o saveBMP()
Save the image in Windows BMP format.
 o saveIt()
Save the image into a graphics file of the given format.
 o savePICT()
Save the image in PICT format.
 o saveTarga()
Save the image in Targa format.
 o saveTIFF()
Save the image in TIFF format.
 o saveToFile(Image, String, String)
Save the image into a graphics file of the given format.
 o setSaveFormat(String)
Set the save format.
 o setSaveImage(Image)
Set the image to save.
 o setSavePath(String)
Set the path where the file should be saved.

Constructors

 o ImageSaverObject
 public ImageSaverObject()

Methods

 o 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.

 o checkSave
 public int checkSave()
Return ImageObserver constants for indicating the state of the image saving.

 o 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.

 o setSaveImage
 public void setSaveImage(Image img)
Set the image to save.

 o setSavePath
 public void setSavePath(String path)
Set the path where the file should be saved.

 o setSaveFormat
 public void setSaveFormat(String f)
Set the save format.

 o 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.

 o 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.

 o 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.

 o 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.

 o saveAsTIFF
 public void saveAsTIFF()
Show the "Save As..." dialog and then save the image in TIFF format.

 o saveAsTarga
 public void saveAsTarga()
Show the "Save As..." dialog and then save the image in Targa format.

 o saveAsPICT
 public void saveAsPICT()
Show the "Save As..." dialog and then save the image in PICT format.

 o 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