Class AnalysisQueueTableModel

    • Constructor Detail

      • AnalysisQueueTableModel

        public AnalysisQueueTableModel​(BeaTunes application)
        Empty model.
        Parameters:
        application - beaTunes
    • Method Detail

      • getApplication

        public BeaTunes getApplication()
      • getUnfilteredRow

        public int getUnfilteredRow​(int row)
        Description copied from interface: FilterTableModel
        Returns unfiltered row index for a given row index.
        Specified by:
        getUnfilteredRow in interface FilterTableModel<Task>
        Parameters:
        row - filtered row
        Returns:
        unfiltered row or -1 if not found
      • getValueAt

        public Task getValueAt​(int rowIndex)
        Specified by:
        getValueAt in interface FilterTableModel<Task>
        Parameters:
        rowIndex - index
        Returns:
        the value at the indicated row or null
      • indexOf

        public int indexOf​(Task object)
        Description copied from interface: FilterTableModel
        First index for object.
        Specified by:
        indexOf in interface FilterTableModel<Task>
        Parameters:
        object - object to look for
        Returns:
        index of the object or -1 if not found
      • indexOf

        public int indexOf​(long id)
        Description copied from interface: FilterTableModel
        First index for object with given id.
        Specified by:
        indexOf in interface FilterTableModel<Task>
        Parameters:
        id - object id
        Returns:
        index of the corresponding object or -1 if not found
      • fireTaskUpdated

        public void fireTaskUpdated​(Task task)
        Fires a table cell update for the progress column of the specified task.
        Parameters:
        task - that needs its progress column updated
      • fireQueueChanged

        public void fireQueueChanged()