Class UpdateSampleDataPanel

    • 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 comboboxes 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_ButtonSelectAll

        protected adams.gui.core.BaseButton m_ButtonSelectAll
        the button for selecting all.
      • m_ButtonSelectNone

        protected adams.gui.core.BaseButton m_ButtonSelectNone
        the button for selecting none.
      • m_ButtonSelectInvert

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

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

        protected JPanel m_PanelSampleDataButtons
        the panel for the buttons for the sampledata table.
      • m_ButtonRemoveReferenceValue

        protected adams.gui.core.BaseButton m_ButtonRemoveReferenceValue
        the button for removing sample data reference values.
      • m_SearchSampleData

        protected adams.gui.core.SearchPanel m_SearchSampleData
        the search panel for the sample data.
      • m_TextName

        protected adams.gui.core.BaseTextField m_TextName
        the text field for the field name.
      • m_ComboBoxType

        protected adams.gui.core.BaseComboBox<adams.data.report.DataType> m_ComboBoxType
        the combobox for the field data type.
      • m_TextValue

        protected adams.gui.core.BaseTextField m_TextValue
        the text field for the field value.
      • m_ButtonApply

        protected adams.gui.core.BaseButton m_ButtonApply
        the button for updating the sample data.
      • 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

      • UpdateSampleDataPanel

        public UpdateSampleDataPanel()
    • 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
      • setIDs

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

        protected adams.data.report.Field getField()
        Returns the current values as field.
        Returns:
        the field
      • apply

        protected void apply()
        Updates the selected spectra.
      • showReport

        protected void showReport()
        Loads the associated report and displays it.
      • removeReferenceValues

        protected void removeReferenceValues()
        Removes any selected reference values from the database.
      • 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