Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate Observable Values Into Nestings #1

Open
nipafx opened this issue Aug 9, 2014 · 0 comments
Open

Incorporate Observable Values Into Nestings #1

nipafx opened this issue Aug 9, 2014 · 0 comments

Comments

@nipafx
Copy link
Owner

nipafx commented Aug 9, 2014

Description

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant