|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxodraw.gui.panel.JaxoExportPanel
public class JaxoExportPanel
The parent class for exporting: brings up a dialog to choose the export format and executes the corresponding actions.
Constructor Summary | |
---|---|
JaxoExportPanel(Component parentc,
List<?> exportl,
JaxoPreview p)
Constructor. |
Method Summary | |
---|---|
void |
export(JaxoGraph newGraph,
Dimension d,
String tab)
Deprecated. use export(JaxoGraph,String) instead. |
void |
export(JaxoGraph newGraph,
String tab)
Brings a dialog to choose the export format. |
void |
setExports(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 ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxoExportPanel(Component parentc, 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.Method Detail |
---|
public void setNewPreviewFrame(boolean newFrame)
newFrame
- true if a new Frame should be opened for every preview.public void setExports(List<?> expts)
expts
- the list of export formats.public void updateLanguage()
JaxoPrefs.PREF_LANGUAGE
).
updateLanguage
in interface JaxoLocalized
public final void export(JaxoGraph newGraph, String tab)
newGraph
- The graph to be exported.tab
- The current tab.@Deprecated public final void export(JaxoGraph newGraph, Dimension d, String tab)
export(JaxoGraph,String)
instead.
newGraph
- The graph to be exported.d
- The current dimension of the canvas. This is not used!tab
- The current tab.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |