camdenorrb
11/20/2018, 7:55 PMcamdenorrb
11/20/2018, 7:57 PMedvin
11/20/2018, 8:08 PMedvin
11/20/2018, 8:08 PMcamdenorrb
11/20/2018, 8:09 PMedvin
11/20/2018, 8:09 PMcamdenorrb
11/20/2018, 8:09 PMedvin
11/20/2018, 8:11 PMcamdenorrb
11/20/2018, 8:11 PMedvin
11/20/2018, 8:12 PMcamdenorrb
11/20/2018, 8:12 PMedvin
11/20/2018, 8:14 PMedvin
11/20/2018, 8:14 PMcolorProperty
is bound to the colorPicker, and the backgroundValue will update accordingly, converting the color into a Background
object, which is then bound to the backgroundProperty
of the Form.edvin
11/20/2018, 8:15 PMcolorpicker
builder to support direct binding, will add it now.camdenorrb
11/20/2018, 8:16 PMedvin
11/20/2018, 8:16 PMgtnarg
11/20/2018, 8:16 PMSergio Casero
11/20/2018, 8:22 PMedvin
11/20/2018, 8:23 PMcolorpicker
builder so now you can write colorpicker(colorProperty)
instead.edvin
11/20/2018, 8:32 PMedvin
11/20/2018, 8:32 PMNikky
11/20/2018, 8:44 PMNikky
11/20/2018, 8:45 PMedvin
11/20/2018, 8:51 PMSortedFilteredList
? If so, call filterWhen
on it and pass in the textProperty
of your input as the first parameter and then the predicate function as the second.Nikky
11/20/2018, 8:52 PMNikky
11/20/2018, 8:53 PMNikky
11/20/2018, 8:55 PMval filtered = allStrings.filtered { !it.filtered }
val String.filtered: Boolean get() {
return !this.contains(searchText.get())
}
edvin
11/20/2018, 8:56 PMedvin
11/20/2018, 8:58 PMpredicate
property of a SortedFilteredList
to be a function that evaluates how many conditions you want and return true or false for each row:edvin
11/20/2018, 8:58 PM