beepdog
09/27/2018, 4:38 PMbeepdog
09/27/2018, 4:40 PMedvin
09/27/2018, 5:13 PMmodel.myTickets.add(ticket)
run on the UI thread? OK, let me know if I can run the code, we'll figure it out quickly 🙂hudsonb
09/27/2018, 5:40 PMedvin
09/27/2018, 5:40 PMselect()
edvin
09/27/2018, 5:41 PMhudsonb
09/27/2018, 5:42 PMd3-selection
. Not happy with the API yet though wanted to see what you guys have donehudsonb
09/27/2018, 5:43 PMedvin
09/27/2018, 5:45 PMNode
. It's best used with our type safe css, so you don't need to throw strings around 🙂hudsonb
09/27/2018, 5:47 PMedvin
09/27/2018, 5:52 PMhudsonb
09/27/2018, 5:58 PMNode
types, then allow users to set properties on all nodes in the selection. For example root.selectAll<Path>()
would select all Path
nodes that are descendants of root
as a Selection<Path>
. I then want the to be able to set all properties of Path
using the selection, for example:
root.selectAll<Path> {
fill = Color.RED
}
However, I don't want to pollute Selection<Button>
for example, with properties that apply only to `Shape`/`Path` so I was considering implementing fill
as an extension `val`/`fun` on Selection<Path>
.
Does that make any sense? Trying to sanity check myself before spending too much time developing it.hudsonb
09/27/2018, 6:02 PMButton
on Selection<Button>
thomasnield
09/27/2018, 6:03 PMthomasnield
09/27/2018, 6:04 PMJFXPanel()
is nowhere to be found 😕 I used that as a hack to start JavaFX thread. I had to call javafx.application.Platform.startup(() ->{});
to achieve this.thomasnield
09/27/2018, 6:06 PMObservableListenerHelper
from scratch since that went away with sun packagesthomasnield
09/27/2018, 6:07 PMcarlw
09/27/2018, 6:13 PMcarlw
09/27/2018, 6:16 PMthomasnield
09/27/2018, 6:19 PMcarlw
09/27/2018, 6:22 PMhudsonb
09/27/2018, 6:28 PMShape
subclasses, I suppose I could restrict it to that to keep things simpler. I can't think of a use case for selecting Button
but hadnt planned on preventing it eitherhudsonb
09/27/2018, 6:41 PMcarlw
09/27/2018, 6:56 PMhudsonb
09/27/2018, 6:56 PMcarlw
09/27/2018, 6:57 PMValV
09/27/2018, 7:00 PMObservableList
values. Why not -- I did not find it myself yet. But I tried to look inside the useTextField
function -- it updates value in setOnEditCommit
, but when it runs afterCommit
the value is not there anymore. I suspect, that I'm wrong somewhere in lines 48-54ValV
09/27/2018, 7:05 PMlistener
and observable
are null
, is it ok? I.e. after I did column { value {{ item.item } ... }
ValV
09/27/2018, 7:11 PMproperty
inside setOnEditCommit
(in useTextField
function) looks similar -- fields listener
and observable
are null
, but field value
contains changed text