|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fi.faidon.jis.ImageSaverObject
Constructor Summary | |
ImageSaverObject()
|
Method Summary | |
int |
checkSave()
Return ImageObserver constants for indicating the state of the image saving. |
void |
saveAsBMP()
Show the "Save As..." dialog and then save the image in Windows BMP format. |
void |
saveAsPICT()
Show the "Save As..." dialog and then save the image in PICT format. |
void |
saveAsPNG()
Show the "Save As..." dialog and then save the image in PNG format. |
void |
saveAsTarga()
Show the "Save As..." dialog and then save the image in Targa format. |
void |
saveAsTIFF()
Show the "Save As..." dialog and then save the image in TIFF format. |
boolean |
saveBMP()
Save the image in Windows BMP format. |
boolean |
saveIt()
Save the image into a graphics file of the given format. |
boolean |
savePICT()
Save the image in PICT format. |
boolean |
savePNG()
Save the image in PNG. |
boolean |
saveTarga()
Save the image in Targa format. |
boolean |
saveTIFF()
Save the image in TIFF format. |
boolean |
saveToFile(java.awt.Image theImage,
java.lang.String thePath,
java.lang.String formatCode)
Save the image into a graphics file of the given format. |
boolean |
saveWithImageSaver()
Set up the current image saver object with the current parameters and save the image. |
void |
setSaveFormat(java.lang.String f)
Set the save format. |
void |
setSaveImage(java.awt.Image img)
Set the image to save. |
void |
setSavePath(java.lang.String path)
Set the path where the file should be saved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageSaverObject()
Method Detail |
public boolean saveIt()
public int checkSave()
public boolean saveToFile(java.awt.Image theImage, java.lang.String thePath, java.lang.String formatCode)
public void setSaveImage(java.awt.Image img)
public void setSavePath(java.lang.String path)
public void setSaveFormat(java.lang.String f)
public boolean saveTIFF()
public boolean saveTarga()
public boolean savePICT()
public boolean saveBMP()
public boolean savePNG()
public void saveAsTIFF()
public void saveAsTarga()
public void saveAsPICT()
public void saveAsBMP()
public void saveAsPNG()
public boolean saveWithImageSaver()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |