Class AbstractPanelWithFile<T extends adams.gui.chooser.AbstractChooserPanel>

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible
    Direct Known Subclasses:
    CostCurvePanel

    public abstract class AbstractPanelWithFile<T extends adams.gui.chooser.AbstractChooserPanel>
    extends adams.gui.core.BasePanel
    Ancestor for panels that allow the user to select a file.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_PanelChooser

        protected T extends adams.gui.chooser.AbstractChooserPanel m_PanelChooser
        the chooser panel.
    • Constructor Detail

      • AbstractPanelWithFile

        public AbstractPanelWithFile()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • createChooserPanel

        protected abstract T createChooserPanel()
        Generates the panel to use.
        Returns:
        the generated panel
      • setCurrent

        public abstract void setCurrent​(File file)
        Sets the current file to use.
        Parameters:
        file - the file