Class ExportGraphicsDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ExportGraphicsDialog
extends JDialog
Simple dialog for selecting the image type to export a graphics element to.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ExportGraphicsDialog

      public ExportGraphicsDialog​(JFrame frame, Image normalIcon, Image waitingIcon, boolean modal, Component graphicsPanel, LastSelectedFolder lastSelectedFolder)
      Create and open a new ExportGraphicsDialog.
      Parameters:
      frame - the parent frame
      normalIcon - the normal icon
      waitingIcon - the waiting icon
      modal - if the dialog is to be modal
      graphicsPanel - the graphics panel to export
      lastSelectedFolder - the last selected folder
    • ExportGraphicsDialog

      public ExportGraphicsDialog​(JFrame frame, Image normalIcon, Image waitingIcon, boolean modal, org.jfree.chart.ChartPanel chartPanel, LastSelectedFolder lastSelectedFolder)
      Create and open a new ExportPlot dialog.
      Parameters:
      frame - the parent frame
      normalIcon - the normal icon
      waitingIcon - the waiting icon
      modal - if the dialog is to be modal
      chartPanel - the chart panel to export
      lastSelectedFolder - the last selected folder
    • ExportGraphicsDialog

      public ExportGraphicsDialog​(JDialog dialog, Image normalIcon, Image waitingIcon, boolean modal, Component graphicsPanel, LastSelectedFolder lastSelectedFolder)
      Create and open a new ExportGraphicsDialog.
      Parameters:
      dialog - the parent dialog (has to have a parent JFrame)
      normalIcon - the normal icon
      waitingIcon - the waiting icon
      modal - if the dialog is to be modal
      graphicsPanel - the graphics panel to export
      lastSelectedFolder - the last selected folder
    • ExportGraphicsDialog

      public ExportGraphicsDialog​(JDialog dialog, Image normalIcon, Image waitingIcon, boolean modal, org.jfree.chart.ChartPanel chartPanel, LastSelectedFolder lastSelectedFolder)
      Create and open a new ExportPlot dialog.
      Parameters:
      dialog - the parent dialog (has to have a parent JFrame)
      normalIcon - the normal icon
      waitingIcon - the waiting icon
      modal - if the dialog is to be modal
      chartPanel - the chart panel to export
      lastSelectedFolder - the last selected folder