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 Details

    • printScaleText

      protected String printScaleText
    • printButtonText

      protected String printButtonText
    • printToolTipText

      protected String printToolTipText
    • printerSelectText

      protected String printerSelectText
    • printPreviewText

      protected String printPreviewText
    • orientationText

      protected String orientationText
    • resolutionText

      protected String resolutionText
    • portraitText

      public static String portraitText
    • landscapeText

      protected static String landscapeText
    • defaultPrinterText

      protected String 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 image
      device - the display device
      legendTable - the legend of the plot
      settings - The input PrintSettings. Will construct a default one if null.
  • Method Details

    • open

      public PrintSettings 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.