Class DataSetUploadTableModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.table.TableModel

    public class DataSetUploadTableModel
    extends javax.swing.table.AbstractTableModel
    The DataSetUploadClientModel manages the list of data sets to register, initiates uploads (which run in a separate thread) and notifies the GUI of updates. It also coordinates the Metadata panel to ensure the two are in sync.
    See Also:
    Serialized Form
    • Method Detail

      • setSelectedIndices

        public void setSelectedIndices​(java.util.ArrayList<java.lang.Integer> selectedIndices)
      • getSortColumnIndex

        public int getSortColumnIndex()
      • setSortColumnIndex

        public void setSortColumnIndex​(int sortColumnIndex)
      • isSortAscending

        public boolean isSortAscending()
      • setSortAscending

        public void setSortAscending​(boolean sortAscending)
      • getColumnCount

        public int getColumnCount()
      • getRowCount

        public int getRowCount()
      • getColumnName

        public java.lang.String getColumnName​(int columnIndex)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
        Overrides:
        getColumnName in class javax.swing.table.AbstractTableModel
      • getValueAt

        public java.lang.Object getValueAt​(int rowIndex,
                                           int columnIndex)
      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int c)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
        Overrides:
        getColumnClass in class javax.swing.table.AbstractTableModel
      • setValueAt

        public void setValueAt​(java.lang.Object value,
                               int row,
                               int col)
        Specified by:
        setValueAt in interface javax.swing.table.TableModel
        Overrides:
        setValueAt in class javax.swing.table.AbstractTableModel
      • isCellEditable

        public boolean isCellEditable​(int rowIndex,
                                      int columnIndex)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
        Overrides:
        isCellEditable in class javax.swing.table.AbstractTableModel
      • selectedRowDataChanged

        public void selectedRowDataChanged()
      • addNewDataSet

        public void addNewDataSet()
      • removeSelectedDataSet

        public void removeSelectedDataSet()
      • syncNewDataSetInfoListView

        public void syncNewDataSetInfoListView()