Class JRealityPrintDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.dawnsci.plotting.jreality.print.JRealityPrintDialog
public class JRealityPrintDialog
extends org.eclipse.swt.widgets.Dialog
Class based on the preview SWT dialog example found in "Professional Java Interfaces with SWT/JFace" Jackwind Li
Guojie John Wiley invalid input: '&' Sons 2005
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJRealityPrintDialog(de.jreality.ui.viewerapp.AbstractViewerApp viewerApp, org.eclipse.swt.widgets.Display device, Plot1DGraphTable legendTable, PrintSettings settings) PlotPrintPreviewDialog constructor -
Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
printScaleText
-
printButtonText
-
printToolTipText
-
printerSelectText
-
printPreviewText
-
orientationText
-
resolutionText
-
portraitText
-
landscapeText
-
defaultPrinterText
-
-
Constructor Details
-
JRealityPrintDialog
public JRealityPrintDialog(de.jreality.ui.viewerapp.AbstractViewerApp viewerApp, org.eclipse.swt.widgets.Display device, Plot1DGraphTable legendTable, PrintSettings settings) PlotPrintPreviewDialog constructor- Parameters:
viewerApp- the viewerApp object used to create the imagedevice- the display devicelegendTable- the legend of the plotsettings- The input PrintSettings. Will construct a default one if null.
-
-
Method Details
-
open
Creates and then opens the dialog. Note that setting or getting whether to use portrait or not must be handled separately.- Returns:
- The new value of the PrintSettings.
-