japlot.jaxodraw
Class JaxoExportPanel
- java.lang.Object
-
- japlot.jaxodraw.JaxoExportPanel
-
public class JaxoExportPanel extends java.lang.ObjectThe parent class for exporting: brings up a dialog to choose the export format and executes the corresponding actions.
-
-
Field Summary
Fields Modifier and Type Field and Description static intJPGAn integer specifying the JPG export mode.static intLATEXAn integer specifying the LaTeX (text) mode.static intLATEX_EPSAn integer specifying the LaTeX - EPS mode.static intPNGAn integer specifying the PNG export mode.static intPS_EPSAn integer specifying the postscript EPS mode.static intPS_LANDSCAPEAn integer specifying the postscript landscape mode.static intPS_PORTRAITAn integer specifying the postscript portrait mode.static intSVGAn integer specifying the SVG export mode.
-
Constructor Summary
Constructors Constructor and Description JaxoExportPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidexport(JaxoGraph newGraph, java.awt.Dimension d)Brings a dialog to choose the export format.voidpreview(int i)Called for previewing the export result.voidsetCurrentTab(java.lang.String newTab)Sets the currentTab property.
-
-
-
Field Detail
-
LATEX_EPS
public static final int LATEX_EPS
An integer specifying the LaTeX - EPS mode.- See Also:
- Constant Field Values
-
LATEX
public static final int LATEX
An integer specifying the LaTeX (text) mode.- See Also:
- Constant Field Values
-
PS_PORTRAIT
public static final int PS_PORTRAIT
An integer specifying the postscript portrait mode.- See Also:
- Constant Field Values
-
PS_LANDSCAPE
public static final int PS_LANDSCAPE
An integer specifying the postscript landscape mode.- See Also:
- Constant Field Values
-
PS_EPS
public static final int PS_EPS
An integer specifying the postscript EPS mode.- See Also:
- Constant Field Values
-
JPG
public static final int JPG
An integer specifying the JPG export mode.- See Also:
- Constant Field Values
-
PNG
public static final int PNG
An integer specifying the PNG export mode.- See Also:
- Constant Field Values
-
SVG
public static final int SVG
An integer specifying the SVG export mode.- See Also:
- Constant Field Values
-
-
Method Detail
-
setCurrentTab
public final void setCurrentTab(java.lang.String newTab)
Sets the currentTab property.- Parameters:
newTab- The name of the current tab.
-
export
public final void export(JaxoGraph newGraph, java.awt.Dimension d)
Brings a dialog to choose the export format.- Parameters:
newGraph- The graph to be exported.d- The current dimension of the canvas.
-
preview
public final void preview(int i)
Called for previewing the export result.- Parameters:
i- Parameter indicating the export format that is being previewed.
-
-
DMelt 3.0 © DataMelt by jWork.ORG