public static BooleanProperty booleanProperty (Property<Boolean> property)

Returns a BooleanProperty that wraps a javafx.beans.property.Property. 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"

Parameters:
property     The source Property

Returns:  A BooleanProperty that wraps the Property if necessary

Exceptions:
NullPointerException     if property is null

Since:  JavaFX 8.0