public class JaxoExportPanel extends java.lang.Object implements JaxoLocalized
| Constructor and Description |
|---|
JaxoExportPanel(java.awt.Component parentc,
java.util.List exportl,
JaxoPreview p)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
export(JaxoGraph newGraph,
java.awt.Dimension d,
java.lang.String tab)
Brings a dialog to choose the export format.
|
void |
setExports(java.util.List expts)
Updates the list of export formats.
|
void |
setNewPreviewFrame(boolean newFrame)
Set the watchFile mode.
|
void |
updateLanguage()
Updates the component with the current language as set in the
preferences (
JaxoPrefs.PREF_LANGUAGE). |
public JaxoExportPanel(java.awt.Component parentc,
java.util.List exportl,
JaxoPreview p)
parentc - Component whose Window to use a parent for dialogs.exportl - List of exports to show, in the format of
JaxoExport.getBuiltInFormats().p - Preview to use for showing previews.public void setNewPreviewFrame(boolean newFrame)
newFrame - true if a new Frame should be opened for every preview.public void setExports(java.util.List expts)
expts - the list of export formats.public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE).updateLanguage in interface JaxoLocalizedpublic final void export(JaxoGraph newGraph, java.awt.Dimension d, java.lang.String tab)
newGraph - The graph to be exported.d - The current dimension of the canvas.tab - The current tab.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.