edvin
12/27/2016, 7:25 PMcellFragment
instead of cellCache
. Then you don't need the stackpane wrapper and that ugly this += ComponentView
syntax, but there are some pitfalls. (It is a bit advanced, and not everything is so intuitive so it might be confusing at first)permalmberg
12/27/2016, 7:27 PMpermalmberg
12/27/2016, 7:28 PMedvin
12/27/2016, 7:29 PMedvin
12/27/2016, 7:30 PMpermalmberg
12/27/2016, 7:30 PMron
12/27/2016, 7:30 PMron
12/27/2016, 7:31 PMedvin
12/27/2016, 7:31 PMpermalmberg
12/27/2016, 7:33 PMedvin
12/27/2016, 7:34 PMpermalmberg
12/27/2016, 7:34 PMedvin
12/27/2016, 7:47 PMtitlepane
can work like a normal builder. If you add a single child, then that child is added as the content node. If you add several we can either discard the previous, throw an exception or wrap them in a vbox.edvin
12/27/2016, 7:52 PMedvin
12/27/2016, 7:52 PMaddChildIfPossible
to support titledpane specifically:edvin
12/27/2016, 7:52 PMis TitledPane -> content = node
edvin
12/27/2016, 7:53 PMnode
parameter is now optional. It might even be possible to set the node as the target if it is a parent, so you can supply a node AND a builder.ron
12/27/2016, 7:54 PMfold
? its already thereedvin
12/27/2016, 7:55 PMron
12/27/2016, 7:56 PMron
12/27/2016, 7:56 PMpermalmberg
12/27/2016, 8:08 PMexpandedProperty()
to a SimpleBooleanProperty
held by a HashMap
so that I can separate the different expanded states between the `TitledPane`s and it seems to work until I click the pane to expand it at which point I get: java.lang.RuntimeException: TitledPane.expanded : A bound value cannot be set.
permalmberg
12/27/2016, 8:10 PMcarlw
12/27/2016, 8:10 PMedvin
12/27/2016, 8:11 PMedvin
12/27/2016, 8:11 PMcarlw
12/27/2016, 8:13 PMpermalmberg
12/27/2016, 8:14 PMcarlw
12/27/2016, 8:15 PM