Hi,
I am trying to build an application perspective which includes a form of spreadsheet modeling.The ControlsFX SpreadsheetView seems ideal except for some problems I am running into. One problem is the ability to track and document in a status bar (similar to the Excel Formula Bar) the identity of the current cell and secondary information about that cell.
In Excel, the Formula Bar reports the cell address of the current active cell which has focus. As the users moves through the spreadsheet, whether by mouse or keyboard activity that cell address reported in the Formula Bar changes to track the active cell. In addition, cells in the spreadsheet display the result of any formula calculations while the Formula Bar shows the formula content of the active cell which created that result.
This is similar to what I want to achieve. My problem is that I do not see any way of actively tracking the currently active cell on a passive basis. I am looking for something along the lines of a FocusedCellAddressProperty that I can attach a PropertyChangeListener to, but there doesn't seem to be such a property. If my code has control for some reason, for example if a CellType convertValue function is called, I can determine the currently active cell at that point. However, this requires my code to have already been invoked for some other reason. It is not a passive change listener.
Is there a way to passively track the focused cell, or is this a change request?
Thanks!