|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.grids.exchange.ImageExporter
public class ImageExporter
Class for exporting to images.
Field Summary | |
---|---|
protected Grids_Environment |
_Grids_Environment
|
Constructor Summary | |
---|---|
ImageExporter()
Creates a new instance of ImageExporter |
|
ImageExporter(Grids_Environment a_Grids_Environment)
Creates a new instance of ImageExporter |
Method Summary | |
---|---|
protected void |
toGreyScaleImage(AbstractGrid2DSquareCell _Grid2DSquareCell,
java.io.File file,
java.lang.String type)
Writes this grid as a Grey scale image |
void |
toGreyScaleImage(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.io.File file,
java.lang.String type,
boolean handleOutOfMemoryError)
Writes this grid as a Grey scale image |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Grids_Environment _Grids_Environment
Constructor Detail |
---|
public ImageExporter()
public ImageExporter(Grids_Environment a_Grids_Environment)
Method Detail |
---|
public void toGreyScaleImage(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.io.File file, java.lang.String type, boolean handleOutOfMemoryError)
file
- The File exported to.type
- The name of the type of image to be written e.g. "png", "jpeg"protected void toGreyScaleImage(AbstractGrid2DSquareCell _Grid2DSquareCell, java.io.File file, java.lang.String type)
file
- The File exported to.type
- The name of the type of image to be written e.g. "png", "jpeg"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |