edu.jhu.tmaj.client.tables.data
Class ChangedCells

java.lang.Object
  extended by edu.jhu.tmaj.client.tables.data.ChangedCells

public final class ChangedCells
extends java.lang.Object

Represents cells (coordinates) in a JTable that the user has updated.


Constructor Summary
ChangedCells()
           
 
Method Summary
 void addDeletedRow(int rowNumber)
           
 void addUpdatedCell(int rowNumber, int columnNumber)
           
 void clearAll()
           
 boolean doRowsNeedUpdating()
           
 java.util.Set<java.lang.Integer> getDeletedRows()
           
 java.util.Set<java.lang.Integer> getUpdatedColumnsForRow(int rowNumber)
           
 java.util.Set<java.lang.Integer> getUpdatedRows()
           
 boolean isRowDeleted(int rowNumber)
           
 void removeDeletedRow(int rowNumber)
           
 void removeUpdatedRow(int rowNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangedCells

public ChangedCells()
Method Detail

isRowDeleted

public boolean isRowDeleted(int rowNumber)

doRowsNeedUpdating

public boolean doRowsNeedUpdating()

getUpdatedRows

public java.util.Set<java.lang.Integer> getUpdatedRows()

getDeletedRows

public java.util.Set<java.lang.Integer> getDeletedRows()

getUpdatedColumnsForRow

public java.util.Set<java.lang.Integer> getUpdatedColumnsForRow(int rowNumber)

addUpdatedCell

public void addUpdatedCell(int rowNumber,
                           int columnNumber)

removeUpdatedRow

public void removeUpdatedRow(int rowNumber)

addDeletedRow

public void addDeletedRow(int rowNumber)

removeDeletedRow

public void removeDeletedRow(int rowNumber)

clearAll

public void clearAll()