Distinguish click on a table's cell versus its header
I'm using a TableView where I'd added a a handler on mouse clicked to take some action. I've been using the focus model to determine which cell was clicked on. This works fine, except when the click is on the table's header (say to resize the column). The mouse click still occurs but the focused cell has not changed so the click is mistakenly treated as one on the table.
Besides relying on getFocusModel or getSelectionModel, is there a better way to determine which cell is actually under the mouse click?