Class DataSourceQueryChooserDialog

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

    public class DataSourceQueryChooserDialog
    extends JDialog
    Contains the various DataSourceQueryChooser panels, regardless of whether they are for files, databases, web services, or other kinds of DataSources.

    A bit confusing for files, as there are two "format" comboboxes for the user to choose from: one for the DataSource type, and another for the file extension. In the future, file DataSources may have their own dialog, eliminating the first combobox.

    See Also:
    Serialized Form
    • Constructor Detail

      • DataSourceQueryChooserDialog

        public DataSourceQueryChooserDialog​(Collection dataSourceQueryChoosers,
                                            Frame frame,
                                            String title,
                                            boolean modal)
    • Method Detail

      • wasOKPressed

        public boolean wasOKPressed()
        Returns:
        true if the user hit OK; false if the user hit Cancel or the Close Window button.
      • getSelectedFormat

        public String getSelectedFormat()
      • setSelectedFormat

        public void setSelectedFormat​(String format)