Go to file
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
project Update to ScalaFX R9 for Java 8.0.60 2015-10-05 11:39:54 -07:00
src/main/scala/org/gerweck/scalafx/util Add operations to flatten arrays, lists and sets 2016-04-16 20:42:37 -07:00
.gitignore Ignore new Eclipse cache files 2015-08-08 21:14:21 -07:00
CHANGELOG.md Add operations to flatten arrays, lists and sets 2016-04-16 20:42:37 -07:00
LICENSE.md SBT baseline project. 2015-04-14 21:25:04 -07:00
README.md Bump version in README 2015-09-20 22:16:30 -07:00
version.sbt Setting version to 0.5.1-SNAPSHOT 2015-10-05 11:44:27 -07:00

Sarahs ScalaFX Utilities

This project contains helper functions, utilities and convenience functions for working with JavaFX and ScalaFx in Scala.

ScalaFX does a tremendous job at making JavaFX more usable from Scala, but it doesn't go as far as it could in facilitating functional and reactive programming. This project is an attempt to add additional facilities that further bridge the beautiful Scala with JavaFX.

This code is offered as is with now guarantees. You are free to use it if you find it useful, but this is not part of any production project and it may have serious bugs. These APIs may also change at any time, and I make no guarantees that the project will be maintained at all. I welcome any bug reports and I will be happy to merge high-quality pull requests if you find a bug.

Installation

To use ScalaFX, add the following to your SBT build:

libraryDependencies += "org.gerweck.scala" %% "scalafx-utils" % "0.4.0"