Class DataStoreTableCellListener
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.plugin.datastore.DataStoreTableCellListener
-
- All Implemented Interfaces:
PropertyChangeListener,Runnable,EventListener
public class DataStoreTableCellListener extends Object implements PropertyChangeListener, Runnable
-
-
Constructor Summary
Constructors Constructor Description DataStoreTableCellListener(JTable table, Action action)Create a TableCellListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()Get the column that was last editedObjectgetNewValue()Get the new value in the cellObjectgetOldValue()Get the old value of the cellintgetRow()Get the row that was last editedJTablegetTable()Get the table of the cell that was changedvoidpropertyChange(PropertyChangeEvent e)voidrun()
-
-
-
Method Detail
-
getColumn
public int getColumn()
Get the column that was last edited- Returns:
- the column that was edited
-
getNewValue
public Object getNewValue()
Get the new value in the cell- Returns:
- the new value in the cell
-
getOldValue
public Object getOldValue()
Get the old value of the cell- Returns:
- the old value of the cell
-
getRow
public int getRow()
Get the row that was last edited- Returns:
- the row that was edited
-
getTable
public JTable getTable()
Get the table of the cell that was changed- Returns:
- the table of the cell that was changed
-
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChangein interfacePropertyChangeListener
-
-