de.qfs.apps.qflog.logview
Class LogTableView.CellSelectionListener

java.lang.Object
  |
  +--de.qfs.lib.gui.DelayedListSelectionListener
        |
        +--de.qfs.apps.qflog.logview.LogTableView.CellSelectionListener
Enclosing class:
LogTableView

protected class LogTableView.CellSelectionListener
extends de.qfs.lib.gui.DelayedListSelectionListener
implements javax.swing.event.TableModelListener, java.lang.Runnable

Listener for changes in the table's selection or model contents that updates the detail view accordingly.


Fields inherited from class de.qfs.lib.gui.DelayedListSelectionListener
DEFAULT_DELAY
 
Constructor Summary
LogTableView.CellSelectionListener()
          Create a new CellSelectionListener.
 
Method Summary
 void delayedValueChanged(javax.swing.event.ListSelectionEvent e)
          Delayed notification of a change in the table's selection.
 void forgetSavedRow()
          Must be called when rows are deleted from the table model.
 void run()
          Run method for the delayed table changed action.
 void tableChanged(javax.swing.event.TableModelEvent e)
          Notification of a change in the table model's contents.
 
Methods inherited from class de.qfs.lib.gui.DelayedListSelectionListener
valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogTableView.CellSelectionListener

public LogTableView.CellSelectionListener()
Create a new CellSelectionListener.
Method Detail

forgetSavedRow

public void forgetSavedRow()
Must be called when rows are deleted from the table model.

delayedValueChanged

public void delayedValueChanged(javax.swing.event.ListSelectionEvent e)
Delayed notification of a change in the table's selection.
Overrides:
delayedValueChanged in class de.qfs.lib.gui.DelayedListSelectionListener
Parameters:
e - The event containing the details.

tableChanged

public void tableChanged(javax.swing.event.TableModelEvent e)
Notification of a change in the table model's contents.
Specified by:
tableChanged in interface javax.swing.event.TableModelListener
Parameters:
e - The event containing the details.

run

public void run()
Run method for the delayed table changed action.
Specified by:
run in interface java.lang.Runnable