Interface TableMouseListener

All Known Implementing Classes:
AbstractTreeTableModel, ActionTreeTableModel, AgendaItemTableModel, AROEditorPanel.ClassTreeTableModel, ShortActionTreeTableModel

public interface TableMouseListener

An interface that can listens to cells being clicked in tables.

Method Summary
 void cellClicked(java.awt.event.MouseEvent me, int rowIndex, int columnIndex)
          Called when a cell has been clicked in the table.

Method Detail


void cellClicked(java.awt.event.MouseEvent me,
                 int rowIndex,
                 int columnIndex)
Called when a cell has been clicked in the table. To pick apart the mouse event, use code like this (interested in left button clicks only):

 int mod = me.getModifiers();
 if (SwingUtilities.isLeftMouseButton(me)

me - the original MouseEvent.
rowIndex - the index of the row that has been clicked
columnIndex - the index of the column that has been clicked