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 int
getColumn()
Get the column that was last editedObject
getNewValue()
Get the new value in the cellObject
getOldValue()
Get the old value of the cellint
getRow()
Get the row that was last editedJTable
getTable()
Get the table of the cell that was changedvoid
propertyChange(PropertyChangeEvent e)
void
run()
-
-
-
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:
propertyChange
in interfacePropertyChangeListener
-
-