|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xmlmind.fo.graphic.GraphicEnvImpl
public class GraphicEnvImpl
An implementation of GraphicEnv.
Important:This class should not be useful to third-party developers.
| Field Summary | |
|---|---|
protected Hashtable |
convertedGraphics
|
protected Vector |
tempFiles
|
| Constructor Summary | |
|---|---|
GraphicEnvImpl()
|
|
| Method Summary | |
|---|---|
File |
createTempFile(String suffix)
Creates a temporary file having specified suffix. |
void |
dispose()
Delete all temporary files created using createTempFile(java.lang.String). |
ConvertedGraphic |
getConvertedGraphic(Graphic graphic,
String[] formats,
double xScale,
double yScale,
Object clientData)
If the converted graphic is found in the cache, returns this cached converted graphic; otherwise invokes GraphicFactories.convertGraphic(Graphic, String[],
double, double, Object, GraphicEnv), caches and returns
the converted graphic. |
void |
reportWarning(String message)
Reports specified warning message. Simply prints message on System.err. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vector tempFiles
protected Hashtable convertedGraphics
| Constructor Detail |
|---|
public GraphicEnvImpl()
| Method Detail |
|---|
public File createTempFile(String suffix)
throws Exception
GraphicEnv
createTempFile in interface GraphicEnvsuffix - suffix of the temporary file. Example: ".tmp".
Exception - if, for any reason, this method failspublic void reportWarning(String message)
System.err.
reportWarning in interface GraphicEnv
public ConvertedGraphic getConvertedGraphic(Graphic graphic,
String[] formats,
double xScale,
double yScale,
Object clientData)
throws Exception
GraphicEnvGraphicFactories.convertGraphic(Graphic, String[],
double, double, Object, GraphicEnv), caches and returns
the converted graphic.
Important:This method should not be useful to third-party developers.
getConvertedGraphic in interface GraphicEnvExceptionpublic void dispose()
createTempFile(java.lang.String).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||