Commit Graph

3 Commits

Author SHA1 Message Date
Sarah Gerweck
b26e2cecc0 Add ReadOnlyObjectProperty instances for 0.7.0 2016-04-18 01:12:39 -07:00
Sarah Gerweck
00612a3b4f A number of updates for 0.6 release 2016-04-16 20:49:58 -07:00
Sarah Gerweck
6956bd05da Add operations to flatten arrays, lists and sets
This makes it really convenient to take a data structure like a
`ObservableBuffer`, which normally has special operations to watch for
different CRUD operations on its individual members, and treat the whole
thing as a solid value. This lets you turn it into an `ObservableValue`
where you get a notice of changes and then you can use the normal
operations like `map` and `flatMap` to react to changes.

Because this requires reprocessing the entirety of the contained values,
this may not perform as well as if you subscribe to more granular update
messages.

It is possible to round-trip these collections back to the ScalaFX
native collections using the other utilities available. This will be
required if you want to use the output to back something like a table.
2016-04-16 20:42:37 -07:00