edvin
03/21/2017, 8:14 PMedvin
03/21/2017, 8:16 PMrow
builder we already have. Something is a bit fishy here.edvin
03/21/2017, 8:18 PMrow
builder don't operate on the GridPane, so you don't have access to the built in GridPane.add()
functions etc.edvin
03/21/2017, 8:18 PMron
03/21/2017, 9:40 PMron
03/21/2017, 9:42 PMnimakro
03/21/2017, 9:44 PMnimakro
03/21/2017, 9:44 PMcarlw
03/21/2017, 11:00 PMedvin
03/22/2017, 7:45 AMSortedFilteredList
together with ControlsFX's Clearable TextField is pretty nice, even if you can't use builders.edvin
03/22/2017, 7:46 AMedvin
03/22/2017, 7:46 AMadd(this)
syntax to add the TextField to the parent container looks OK, so it feels less like hack.edvin
03/22/2017, 7:47 AMentry.toJSON().contains(query, ignoreCase = true)
ron
03/22/2017, 7:47 AMedvin
03/22/2017, 7:47 AMedvin
03/22/2017, 7:48 AMJsonModel
could have the contains
extension, so it becomes entry.contains(query)
(ignoreCase = true
can be default)ron
03/22/2017, 7:49 AMron
03/22/2017, 7:49 AMedvin
03/22/2017, 7:51 AMedvin
03/22/2017, 7:52 AMron
03/22/2017, 7:52 AMedvin
03/22/2017, 7:54 AMedvin
03/22/2017, 7:54 AMentries.filterWhen(textProperty()) { query, entry -> entry.contains(query) }
edvin
03/22/2017, 7:54 AMedvin
03/22/2017, 9:32 AMedvin
03/22/2017, 9:32 AMPasted image at 2017-03-22, 10:32▾
edvin
03/22/2017, 9:33 AMcellFormat
function assigns an hbox
with two labels and a spacer in between to the graphic property of the cell.