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 Details

    • DataStoreTableCellListener

      public DataStoreTableCellListener(JTable table, Action action)
      Create a TableCellListener.
      Parameters:
      table - the table to be monitored for data changes
      action - the Action to invoke when cell data is changed
  • Method Details

    • 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 interface PropertyChangeListener
    • run

      public void run()
      Specified by:
      run in interface Runnable