Class AbstractListMergeModel.EntriesTableModel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ListRole role  
      • Fields inherited from class javax.swing.table.DefaultTableModel

        columnIdentifiers, dataVector
      • Fields inherited from class javax.swing.table.AbstractTableModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<T> getEntries()  
      AbstractListMergeModel<T,​C> getListMergeModel()
      Returns the list merge model.
      protected java.util.List<T> getOppositeEntries()
      replies the opposite list of entries with respect to the current ComparePairType
      OsmPrimitive getReferredPrimitive​(int idx)
      Gets the primitive at a given row index
      ListRole getRole()
      Get the role of the table.
      int getRowCount()  
      java.lang.Object getValueAt​(int row, int column)  
      boolean isCellEditable​(int row, int column)  
      boolean isIncludedInOppositeList​(int row)
      replies true if the entry at the current position is present in the opposite list of the current ComparePairType.
      boolean isParticipatingInCurrentComparePair()
      replies true if the ListRole of this AbstractListMergeModel.EntriesTableModel participates in the current ComparePairType
      boolean isSamePositionInOppositeList​(int row)
      replies true if the entry at row is equal to the entry at the same position in the opposite list of the current ComparePairType.
      void setValueAt​(java.lang.Object value, int row, int col)  
      • Methods inherited from class javax.swing.table.DefaultTableModel

        addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
      • Methods inherited from class javax.swing.table.AbstractTableModel

        addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.table.TableModel

        addTableModelListener, getColumnClass, getColumnCount, getColumnName, removeTableModelListener