Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can
use the free and open-source editor "[g]vim"
, which is available for practically
all platforms and can be downloaded from its homepage at
http://www.vim.org/.
demoTableView.fxml
". It implements Rexx classes for each
table column in order to become able to "auto-commit" changes to cells
also in the case that the user moves away with the <TAB> key or uses the mouse
to click away from the cell in edit mode. This also allows for formatting cells
(including the background) under the control of Rexx code (c.f. method
"updateItem" in those classes).
Note: by default debug output is active, such that you can study the effects of interacting
with the TableView
respectively TableCell
s.
Hint: This program includes ooRexxDoc comments. If you process it with ooRexxDoc
(part of the ooRexx plugin for IntelliJ) you will get a nicely formatted
HTML documentation of what it does.
demoTableView_controller.rex
"
and defines event handler, programmed in Rexx for the stylesheet menu items.
demoTableView.fxml
" for the
stylesheet menu items.
demoTableView.fxml
" which
fetches all JavaFX objects with a "fx:id
" value and stores them
with that value as the index in a Rexx directory. This Rexx directory can
then be fetched via ".my.app~demoTableView.xml
" from all
Rexx programs.
Rony G. Flatscher, 2020-06-22, 2020-07-07, Wien/Vienna, Austria, Europe