The goal of this project is to bring some of the basic excel like capabilities to javafx tables. This work is an offshoot of the development work at https://www.gemsoftware.org Geotechnical Engineering Modelling Software (GEMS)
- Editing of cells in tableview
- drag and select a rectangle with mouse
- cut copy, paste of cells using keyboard (Ctrl-X, Ctrl-C, Ctrl-V)
- context menu for cut, copy, paste, delete, insertrow, delete row. Right click on table shows context menu
- menubar with cut, copy, paste & delete functionality
- Validation of float, integer, double values
'''
src/main/java ->com.gems.table - contains the generic table library
->tableapp - example app that uses the generic library
to create an editable table
->View - fxml and css files
Settings.gradle
build.gradle
'''
gradle.build
This will create a jar file called tableapp.jar
java -jar tableApp.jar
This work is based on a few of the works below and extends them to form a common library.
-
Tableview documentation from oracle https://docs.oracle.com/javafx/2/ui_controls/table-view.htm
-
example of setting an editable tableview https://dzone.com/articles/editable-tables-in-javafx https://github.com/lankydan/JavaFX-Table-Tutorial/tree/master/JavaFXTableTutorial
-
Copy and paste on tabeview by Roland https://gist.github.com/Roland09/6fb31781a64d9cb62179
-
Custom events by Tony Sintes https://www.javaworld.com/article/2077333/core-java/mr-happy-object-teaches-custom-events.html
This work is licensed under FREEBSD license. (2 Clause BSD license)