Package org.dawb.common.ui.printing
Class PrintPreviewDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.dawb.common.ui.printing.PrintPreviewDialog
public class PrintPreviewDialog
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
-
Constructor Summary
ConstructorsConstructorDescriptionPrintPreviewDialog(org.eclipse.swt.widgets.Shell shell, IPrintImageProvider imageProvider, PrintSettings settings, org.eclipse.swt.printing.PrinterData data) PlotPrintPreviewDialog constructor -
Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
PrintPreviewDialog
public PrintPreviewDialog(org.eclipse.swt.widgets.Shell shell, IPrintImageProvider imageProvider, PrintSettings settings, org.eclipse.swt.printing.PrinterData data) PlotPrintPreviewDialog constructor- Parameters:
settings- The input PrintSettings. Will construct a default one if null.viewerApp- the IPrintImageProvider object used to create the imagedevice- the display devicelegendTable- the legend of the plot
-
-
Method Details
-
open
-