Class OpenFileDialog

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

public class OpenFileDialog extends JDialog implements ActionListener
Select a filename and a XTCE db config version to be used in the standalone packet viewer
See Also:
  • Field Details

    • CANCEL_OPTION

      public static final int CANCEL_OPTION
      Return value if cancel is chosen
      See Also:
    • APPROVE_OPTION

      public static final int APPROVE_OPTION
      Return value if approve (yes, ok) is chosen
      See Also:
  • Constructor Details

    • OpenFileDialog

      public OpenFileDialog(Map<String,FileFormat> fileFormats) throws org.yamcs.ConfigurationException
      Throws:
      org.yamcs.ConfigurationException
  • Method Details

    • showDialog

      public int showDialog(Component parent)
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • getSelectedFile

      public File getSelectedFile()
    • getSelectedFileFormat

      public FileFormat getSelectedFileFormat()
    • getSelectedDbConfig

      public String getSelectedDbConfig()