cassis.gui.plot.save
public class SaveGraphic extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELED |
static int |
ERROR |
static java.lang.String |
FAMILY |
static int |
NOTHING_TO_SAVE |
static int |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static void |
changeTicks(org.jfree.chart.plot.XYPlot plot,
float length,
float width)
Change the shape of ticks
|
static void |
saveAsPDF(javax.swing.JComponent jp,
java.io.File file)
Save a JComponent to a pdf file
|
public static final java.lang.String FAMILY
public static final int SUCCESS
public static final int ERROR
public static final int CANCELED
public static final int NOTHING_TO_SAVE
public static void changeTicks(org.jfree.chart.plot.XYPlot plot,
float length,
float width)
plot - length - width - public static void saveAsPDF(javax.swing.JComponent jp,
java.io.File file)
throws java.lang.Exception
jp - a JComponentfile - java.lang.Exception