|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.actuate.util.Debug
|
+--com.f1j.util.Debug
|
+--com.f1j.util.ObjConst
|
+--com.f1j.util.Obj
|
+--com.f1j.swing.common.ImageEncoder
|
+--com.f1j.swing.engine.ss.ChartImageEncoder
This class encodes a chart as a GIF or PNG image using a run-length encoding
algorithm. This class extends the ImageEncoder
class and can be used to write out an image map in XML.
ImageEncoder| Method Summary | |
void |
encode(JBook jbook,
FcChart chart)
Creates an image of the given FcChart
object. |
void |
encode(JBook jbook,
FcChart chart,
int iWidth,
int iHeight)
Creates an image of the given FcChart object of the given
height and width. |
void |
encode(JBook jbook,
FcChart chart,
int iWidth,
int iHeight,
int iScale)
Creates an image of the given FcChart object of the given
height, width, and view scale. |
void |
encode(JBook jbook,
GRChart chart)
Deprecated. Replaced by encode(com.f1j.swing.engine.ss.JBook, com.f1j.ss.FcChart). |
void |
encode(JBook jbook,
GRChart chart,
int iWidth,
int iHeight)
Deprecated. Replaced by encode(com.f1j.swing.engine.ss.JBook, com.f1j.ss.FcChart, int, int). |
void |
encode(JBook jbook,
GRChart chart,
int iWidth,
int iHeight,
int iScale)
Deprecated. Replaced by encode(com.f1j.swing.engine.ss.JBook, com.f1j.ss.FcChart, int, int, int). |
void |
encodeWithoutViewScale(JBook jbook,
FcChart chart)
Creates an image of the given FcChart
object without regard to its display size. |
void |
encodeWithoutViewScale(JBook jbook,
GRChart chart)
Deprecated. Replaced by encodeWithouViewScale(com.f1j.swing.engine.ss.JBook, com.f1j.ss.FcChart). |
java.lang.String |
getDataPointValue(java.lang.String seriesName,
java.lang.String pointName)
Returns the value for the given data point on the given series. |
java.awt.Polygon |
getImageMapChartCoordinates()
Returns the coordinates of the current chart. |
java.awt.Polygon |
getImageMapDataPointCoordinates(java.lang.String seriesName,
java.lang.String pointName)
Returns the coordinates for the given data point on the given series. |
java.awt.Polygon |
getImageMapLegendCoordinates()
Returns the coordinates of the legend of the current chart. |
java.awt.Polygon |
getImageMapLegendItemCoordinates(java.lang.String legendName)
Returns the coordinates of the given item in the legend of the current chart. |
java.awt.Polygon |
getImageMapPlotCoordinates()
Returns the coordinates of the plot of the current chart. |
java.awt.Polygon |
getImageMapSeriesCoordinates(java.lang.String seriesName)
Returns the coordinates of the given series of the current chart. |
java.awt.Polygon |
getImageMapTitleCoordinates()
Returns the coordinates of the title of the current chart. |
int |
getOptimalSize(JBook jbook,
FcChart chart,
java.awt.Dimension dims)
Returns the width, height, and scale of the given chart. |
int |
getOptimalSize(JBook jbook,
GRChart chart,
java.awt.Dimension dims)
Deprecated. Replaced by getOptimalSize(com.f1j.swing.engine.ss.JBook, com.f1j.ss.FcChart, java.awt.Dimension). |
| Methods inherited from class com.f1j.swing.common.ImageEncoder |
getBackgroundColor,
getImage,
getOriginalImage,
isCreateImageMap,
setAntiAliasing,
setBackgroundColor,
setCreateImageMap,
setGraphics,
setImageMapDefaultUrl,
setImageMapName,
setOptimizedPalette,
setPalette,
setPalette,
setUseStandard16Colors,
useAllColors,
useGrayScalePalette,
useOptimizedPalette,
useStandardPalette,
writeEPSIMG,
writeImage,
writeImageMap,
writeImageMap,
writePNG,
writeRLEGIF |
| Method Detail |
public void encode(JBook jbook,
GRChart chart)
throws F1Exception
GRChart
object.jbook - a JBook object.chart - a GRChart object.
public void encode(JBook jbook,
FcChart chart)
throws F1Exception
FcChart
object.jbook - a JBook object.chart - a FcChart object.
public void encodeWithoutViewScale(JBook jbook,
GRChart chart)
throws F1Exception
GRChart
object without regard to its display size.jbook - a JBook object.chart - a GRChart object.
public void encodeWithoutViewScale(JBook jbook,
FcChart chart)
throws F1Exception
FcChart
object without regard to its display size.jbook - a JBook object.chart - a FcChart object.
public void encode(JBook jbook,
GRChart chart,
int iWidth,
int iHeight)
throws F1Exception
GRChart object of the given
height and width. The aspect ratio of the image is maintained regardless of
the height and width settings.jbook - a JBook object.chart - a GRChart object.iWidth - an int indicating the width of the output graphic.iHeight - an int indicating the height of the output graphic.
public void encode(JBook jbook,
FcChart chart,
int iWidth,
int iHeight)
throws F1Exception
FcChart object of the given
height and width. The aspect ratio of the image is maintained regardless of
the height and width settings.jbook - a JBook object.chart - a FcChart object.iWidth - an int indicating the width of the output graphic.iHeight - an int indicating the height of the output graphic.
public void encode(JBook jbook,
GRChart chart,
int iWidth,
int iHeight,
int iScale)
throws F1Exception
GRChart object of the given
height, width, and view scale. Aspect ratio is not maintained.jbook - a JBook object.chart - a GRChart object.iWidth - an int indicating the width of the output graphic.iHeight - an int indicating the height of the output graphic.iScale - an int indicating the the scale of the output graphic.
public void encode(JBook jbook,
FcChart chart,
int iWidth,
int iHeight,
int iScale)
throws F1Exception
FcChart object of the given
height, width, and view scale. Aspect ratio is not maintained.jbook - a JBook object.chart - a FcChart object.iWidth - an int indicating the width of the output graphic.iHeight - an int indicating the height of the output graphic.iScale - an int indicating the the scale of the output graphic.
public java.lang.String getDataPointValue(java.lang.String seriesName,
java.lang.String pointName)
throws F1Exception
seriesName - a text string indicating the series.pointName - a text string indicating the data point.
public int getOptimalSize(JBook jbook,
GRChart chart,
java.awt.Dimension dims)
throws F1Exception
jbook - a JBook object.chart - a GRChart object.dims - the size will be set in this object.
public int getOptimalSize(JBook jbook,
FcChart chart,
java.awt.Dimension dims)
throws F1Exception
jbook - a JBook object.chart - a FcChart object.dims - the size will be set in this object.
public java.awt.Polygon getImageMapChartCoordinates()
throws F1Exception
public java.awt.Polygon getImageMapDataPointCoordinates(java.lang.String seriesName,
java.lang.String pointName)
throws F1Exception
seriesName - a text string indicating the series.pointName - a text string indicating the data point.
public java.awt.Polygon getImageMapLegendCoordinates()
throws F1Exception
public java.awt.Polygon getImageMapLegendItemCoordinates(java.lang.String legendName)
throws F1Exception
legendName - a text string indicating the legend item.
public java.awt.Polygon getImageMapPlotCoordinates()
throws F1Exception
public java.awt.Polygon getImageMapSeriesCoordinates(java.lang.String seriesName)
throws F1Exception
seriesName - a text string indicating the series.
public java.awt.Polygon getImageMapTitleCoordinates()
throws F1Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||