ControlsFX

ControlsFX is used in several parts of sapphire-extensions.

Github Source

Features

Property resolver for ControlsFX controls

Only Rating is supported at this time.

ExtensionResolver should be added in the Application:

def applicationDidLaunch() {
  logger.debug("start " + this)
  ExtensionResolver.add()
  replaceSceneContent(showcaseController)
}

Including of custom controls in sapphire-core can be done like this:

class ExtensionResolver extends NodePropertyResolving {

  def resolve(node: Node): Option[Property[_]] =
    node match {
      case rating: Rating => Some(rating.ratingProperty())
      case _ => None
    }
}

PropertySheet

PropertySheet is a vertical list of properties that can be edited with a number of pre-build editors. As well as supporting the built-in editors, you can provide custom editors for your specific use cases.

property_sheet.png