You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the inner observable of a nesting hierarchy is no Property but only an ObservableValue, currently only listeners can be attached. The possibility to also create a NestedObservableValue could be implemented.
It is currently not clear, though, exactly how useful they would be. JavaFX only provides the following implementations of ObservableValue:
...Binding
...Expression
...Property
Properties are already covered and bindings will soon be, too (see #2). Up to now no thoughts were put into expressions.
This implies that nested observable values only seems to be useful when code using LibFX typically contains user implementations of ObservableValue. If that is the case, this ticket should gain some +1s.
Implementation
Nested observable values would be implemented analogue to nested properties:
the builders in the package nesting would have to be extended to accommodate the different kinds of Observable...Value interfaces
a package nesting.observablevalue would contain the NestedObservable...Value classes as well as their builders.
Tests and docs go without saying...
The text was updated successfully, but these errors were encountered:
Description
If the inner observable of a nesting hierarchy is no
Property
but only anObservableValue
, currently only listeners can be attached. The possibility to also create aNestedObservableValue
could be implemented.It is currently not clear, though, exactly how useful they would be. JavaFX only provides the following implementations of
ObservableValue
:...Binding
...Expression
...Property
Properties are already covered and bindings will soon be, too (see #2). Up to now no thoughts were put into expressions.
This implies that nested observable values only seems to be useful when code using LibFX typically contains user implementations of
ObservableValue
. If that is the case, this ticket should gain some +1s.Implementation
Nested observable values would be implemented analogue to nested properties:
nesting
would have to be extended to accommodate the different kinds ofObservable...Value
interfacesnesting.observablevalue
would contain theNestedObservable...Value
classes as well as their builders.Tests and docs go without saying...
The text was updated successfully, but these errors were encountered: