|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objects which implement this interface provide enough functionality to provide an output file type for the ExportDialog.
Method Summary | |
File |
adjustFilename(File file)
Gives the accessory the chance to change the output filename. |
void |
exportToFile(File file,
Component[] printTarget,
Component parent)
Writes the all given components out in the format of this file type. |
void |
exportToFile(File file,
Component printTarget,
Component parent)
Writes the given component out in the format of this file type. |
void |
exportToFile(OutputStream os,
Component[] printTarget,
Component parent)
Writes the all given components out in the format of this file type. |
void |
exportToFile(OutputStream os,
Component printTarget,
Component parent)
Writes the given component out in the format of this file type. |
boolean |
fileHasValidExtension(File file)
This method returns true if the given file has an extension which can be handled by this file type. |
FileFilter |
getFileFilter()
Returns a file filter which selects only those files which correspond to a particular file type. |
JPanel |
getOptionsPanel()
Returns a panel which allows to user to set options associated with this particular output format. |
void |
restoreOptions(Properties props)
Call this method to restore options from a Properties object. |
void |
saveOptions(Properties props)
Call this method to store options in a Properties object. |
void |
setCreator(String creator)
|
Method Detail |
public void setCreator(String creator)
public FileFilter getFileFilter()
public JPanel getOptionsPanel()
public void exportToFile(OutputStream os, Component printTarget, Component parent) throws IOException
IOException
public void exportToFile(File file, Component printTarget, Component parent) throws IOException
IOException
public void exportToFile(OutputStream os, Component[] printTarget, Component parent) throws IOException
IOException
public void exportToFile(File file, Component[] printTarget, Component parent) throws IOException
IOException
public File adjustFilename(File file)
public boolean fileHasValidExtension(File file)
public void saveOptions(Properties props)
public void restoreOptions(Properties props)
|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |