Class DeleteSampleDataPanel

    • Field Detail

      • m_Properties

        protected static adams.core.Properties m_Properties
        the properties.
      • m_PanelIDProvider

        protected JPanel m_PanelIDProvider
        the panel for the ID provider panels.
      • m_ComboBoxIDPanels

        protected adams.gui.core.BaseComboBox<String> m_ComboBoxIDPanels
        the combobox for the ID panels.
      • m_SplitPane

        protected adams.gui.core.BaseSplitPane m_SplitPane
        the split pane.
      • m_Model

        protected TableModel m_Model
        the table model in use.
      • m_TableIDs

        protected adams.gui.core.SortableAndSearchableTableWithButtons m_TableIDs
        the table with the spectra.
      • m_ButtonCheckAll

        protected adams.gui.core.BaseButton m_ButtonCheckAll
        the button for checking all.
      • m_ButtonCheckNone

        protected adams.gui.core.BaseButton m_ButtonCheckNone
        the button for checking none.
      • m_ButtonCheckSelected

        protected adams.gui.core.BaseButton m_ButtonCheckSelected
        the button for checking the selected ones.
      • m_ButtonSelectInvert

        protected adams.gui.core.BaseButton m_ButtonSelectInvert
        the button for inverting the checked ones.
      • m_SearchIDs

        protected adams.gui.core.SearchPanel m_SearchIDs
        the search panel for the IDs.
      • m_PanelFields

        protected adams.gui.goe.GenericArrayEditor m_PanelFields
        the fields to remove.
      • m_ButtonDelete

        protected adams.gui.core.BaseButton m_ButtonDelete
        the button for deleting the sample values.
      • m_ButtonClose

        protected adams.gui.core.BaseButton m_ButtonClose
        the button for closing the dialog.
      • m_StatusBar

        protected adams.gui.core.BaseStatusBar m_StatusBar
        the status bar.
    • Constructor Detail

      • DeleteSampleDataPanel

        public DeleteSampleDataPanel()
    • Method Detail

      • initialize

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

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

        protected void finishInit()
        Finishes up the initialization.
        Overrides:
        finishInit in class adams.gui.core.BasePanel
      • createPopupMenu

        public adams.gui.core.BasePopupMenu createPopupMenu​(MouseEvent e)
        Creates the popup menu for the table.
      • setIDs

        public void setIDs​(String[] ids)
        Updates the model with the specified IDs.
        Specified by:
        setIDs in interface IDConsumer
      • delete

        protected void delete()
        Updates the selected spectra.
      • updateButtons

        protected void updateButtons()
        Updates the state of the buttons.
      • updateIDPanel

        protected void updateIDPanel()
        Updates the panel to be displayed for determining the IDs.
      • updateProperties

        public boolean updateProperties()
        Updates and stores the properties on disk.
        Specified by:
        updateProperties in interface IDConsumer
        Returns:
        if successfully saved
      • getProperties

        public adams.core.Properties getProperties()
        Returns the session properties.
        Specified by:
        getProperties in interface IDConsumer
        Returns:
        the properties