Class ModelDialog

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

public class ModelDialog extends JDialog implements ListSelectionListener
This dialog collects created models and permits their selection and deletion. Selecting a model causes that model and its residuals to become current.
See Also:
  • Constructor Details

    • ModelDialog

      public ModelDialog()
      Constructor.
  • Method Details

    • showDialog

      public void showDialog()
      Show the dialog. This is intended to be a Singleton class.
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Specified by:
      valueChanged in interface ListSelectionListener
    • createModelCreationListener

      public Listener<ModelCreationMessage> createModelCreationListener()
      Return a model creation listener, the purpose of which is to store new model information.
    • createNewStarListener

      public Listener<NewStarMessage> createNewStarListener()
      Return a new star listener, the purpose of which is to clear the collections and disable the buttons.