public static BooleanProperty booleanProperty (Property<Boolean> property)

Returns a BooleanProperty that wraps a If the Property is already a BooleanProperty, it will be returned. Otherwise a new BooleanProperty is created that is bound to the Property. Note: null values in the source property will be interpreted as "false"

property     The source Property

Returns:  A BooleanProperty that wraps the Property if necessary

NullPointerException     if property is null

Since:  JavaFX 8.0