be.ac.ulg.montefiore.run.totem.chart.persistence
Class ChartFactory
java.lang.Object
be.ac.ulg.montefiore.run.totem.chart.persistence.ChartFactory
public class ChartFactory
- extends java.lang.Object
Creation date: 21 d�c. 2005
- Author:
- Ga�l Monfort (monfort@run.montefiore.ulg.ac.be)
Method Summary |
static void |
saveChart(java.lang.String fileName,
Chart chart,
int format,
int width,
int height)
Save a given Chart object to a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PNG_FORMAT
public static final int PNG_FORMAT
- See Also:
- Constant Field Values
JPEG_FORMAT
public static final int JPEG_FORMAT
- See Also:
- Constant Field Values
EPS_FORMAT
public static final int EPS_FORMAT
- See Also:
- Constant Field Values
ChartFactory
public ChartFactory()
saveChart
public static void saveChart(java.lang.String fileName,
Chart chart,
int format,
int width,
int height)
- Save a given Chart object to a file.
- Parameters:
fileName
- Name of the filechart
- Chart to saveformat
- File format (one of the constants PNG_FORMAT, JPEG_FORMAT or EPS_FORMAT)width
- Width of the generated imageheight
- Height of the generated image
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.