public class SaveAbstractPlot extends CassisSaveAbstract
| Constructor and Description |
|---|
SaveAbstractPlot(SavePlotInterface savePlotInterface) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
askNewFile(java.lang.String path,
java.lang.String filter,
java.lang.String filename)
Allow to choose a new file when saving many.
|
javax.swing.JFileChooser |
getfc()
build a JFileChooser
|
java.awt.image.BufferedImage |
getImageToPrint()
Return the image to print.
|
boolean |
isSampSendPossible() |
int |
saveForSamp(java.io.File file)
Save for send to samp with the proper management in case
there are more than one savable curve.
|
boolean |
savePlotAscii(java.io.File file)
Save the graph ASCII format
|
boolean |
savePlotAsciiCassis(java.io.File file)
Save the graph ASCII Cassis format = .fus or .lis
|
boolean |
savePlotFits(java.io.File file)
Save the graph in fits format
|
boolean |
savePlotPdf(java.io.File file)
Save the graph PDF format
|
boolean |
savePlotPng(java.io.File file)
Save the graph PNG format
|
boolean |
savePlotSim(java.io.File file)
Save the graph Sim format
|
boolean |
savePlotVOTable(java.io.File file)
Save the graph VOTable format
|
public SaveAbstractPlot(SavePlotInterface savePlotInterface)
public javax.swing.JFileChooser getfc()
CassisSaveViewInterfacegetfc in interface CassisSaveViewInterfacegetfc in class CassisSaveAbstractJFileChooserpublic boolean savePlotPdf(java.io.File file)
CassisSaveViewInterfacefile - output filepublic boolean savePlotPng(java.io.File file)
CassisSaveViewInterfacefile - output filepublic boolean savePlotAsciiCassis(java.io.File file)
CassisSaveViewInterfacepublic boolean savePlotVOTable(java.io.File file)
CassisSaveViewInterfacepublic boolean savePlotFits(java.io.File file)
CassisSaveViewInterfacepublic boolean savePlotSim(java.io.File file)
CassisSaveViewInterfacepublic boolean savePlotAscii(java.io.File file)
CassisSaveViewInterfacepublic int saveForSamp(java.io.File file)
CassisSaveViewInterfacepublic boolean isSampSendPossible()
public java.io.File askNewFile(java.lang.String path,
java.lang.String filter,
java.lang.String filename)
path - The path of the folder.filter - format ex : votable, lisfilename - The name of the file.public java.awt.image.BufferedImage getImageToPrint()
CassisSaveViewInterface