edvin
06/25/2016, 7:15 PMedvin
06/25/2016, 7:15 PMRuckus
06/25/2016, 9:33 PMreplaceWith()
sounds that confusing, thought it is a little unclear what is being replaced in the example above. Something like replaceView()
might be a little clearer.thomasnield
06/25/2016, 11:01 PMcypher121
06/26/2016, 12:40 AMcypher121
06/26/2016, 12:40 AMedvin
06/26/2016, 8:34 AMreplace
and replaceWith
are opposites of eachother, and the function is present on UIComponent
. We could rename them to replaceView(replacee)
and replaceWithView(replacement)
?edvin
06/26/2016, 8:46 AMedvin
06/26/2016, 8:46 AMedvin
06/26/2016, 9:23 AMedvin
06/26/2016, 10:40 AMthomasnield
06/26/2016, 12:50 PMedvin
06/26/2016, 3:23 PMFX.replaceComponent()
function to avoid code duplication and also call onDock/onUndock
when the switch happens.thomasnield
06/26/2016, 5:01 PMthomasnield
06/26/2016, 5:02 PMObservable.interval()
and submitted it to RxJavaFX. I also am discovering some VERY cool reactive animation patterns you can do. https://github.com/ReactiveX/RxJavaFX/issues/34#issuecomment-228610893edvin
06/26/2016, 5:26 PMRectangle
for example. It has different constructors for width, height
, x, y, width, height
, width, height, fill: Paint
. I'm not sure what parameters the builder should take.. Up until now we have avoided function overloading for the builders, and I think we should try to keep it that way.thomasnield
06/26/2016, 5:33 PMRuckus
06/26/2016, 6:24 PMRuckus
06/26/2016, 6:34 PMrectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, fill: Paint? = null, op: (Rectangle.() -> Unit)? = null): Rectangle
Ruckus
06/26/2016, 6:34 PMfill
out of the list and just have it set in op
though)Ruckus
06/26/2016, 6:36 PMedvin
06/26/2016, 6:40 PMRuckus
06/26/2016, 7:07 PMCubicCurve
has a start, end, and two handles. The JavaFX constructor orders them with start, control 1, control 2, and end. Would we want to follow that pattern or do something like start, end, control 1, control 2?Ruckus
06/26/2016, 7:07 PMedvin
06/26/2016, 7:38 PMedvin
06/26/2016, 7:39 PMedvin
06/26/2016, 7:39 PMRuckus
06/26/2016, 7:42 PMedvin
06/26/2016, 7:43 PMRuckus
06/26/2016, 7:50 PMCurve
of some sort and want to bind the ends to two nodes that move around (forming a connection line of sorts).