Class SpreadSheetIDPanel

    • Field Detail

      • m_Loading

        protected boolean m_Loading
        whether a spreadsheet is currently being loaded.
      • m_PanelFile

        protected adams.gui.chooser.SpreadSheetFileChooserPanel m_PanelFile
        the file to load.
      • m_TextColumn

        protected adams.gui.core.IndexTextField m_TextColumn
        the column to get the ID from.
      • m_TextFormat

        protected adams.gui.core.BaseTextField m_TextFormat
        the spectrum format.
      • m_ButtonLoad

        protected adams.gui.core.BaseButton m_ButtonLoad
        the button for loading the spreadsheet.
    • Constructor Detail

      • SpreadSheetIDPanel

        public SpreadSheetIDPanel​(IDConsumer owner)
        Initializes the panel with the owner.
        Parameters:
        owner - the owning panel
    • Method Detail

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class adams.gui.core.BasePanel
      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class adams.gui.core.BasePanel
      • finishInit

        protected void finishInit()
        finishes the initialization.
        Overrides:
        finishInit in class adams.gui.core.BasePanel
      • isWorking

        public boolean isWorking()
        Returns whether IDs are currently being determined.
        Specified by:
        isWorking in class AbstractIDProviderPanel
        Returns:
        true if determining IDs
      • load

        protected void load()
        Loads the spreadsheet and determines the IDs.