Class ExportFormatSelectionDialog

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

public class ExportFormatSelectionDialog
extends JDialog
Simple dialog for selecting the format type to export to.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ExportFormatSelectionDialog

      public ExportFormatSelectionDialog​(JFrame frame, boolean modal)
      Create and open a new ExportFormatSelectionDialog.
      Parameters:
      frame - the parent frame
      modal - if the dialog is modal or not
    • ExportFormatSelectionDialog

      public ExportFormatSelectionDialog​(JDialog dialog, boolean modal)
      Create and open a new ExportFormatSelectionDialog.
      Parameters:
      dialog - the parent dialog (has to have a parent JFrame)
      modal - if the dialog is modal or not
  • Method Details

    • isCanceled

      public boolean isCanceled()
      Returns true of the user canceled the dialog.
      Returns:
      true of the user canceled the dialog
    • getFormat

      public ExportFormat getFormat()
      Returns the selected format.
      Returns:
      the selected format