List of usage examples for javafx.beans.property.adapter JavaBeanStringPropertyBuilder create
public static JavaBeanStringPropertyBuilder create()
From source file:org.apache.cayenne.modeler.adapters.CayennePropertyAdapter.java
/** * Binds a Java/Bean String property to a JavaFX property. Note: The JavaFX * property observes changes and marks the Cayenne project dirty when a * change occurs./*from w ww.jav a 2 s. c o m*/ * * @param property * The Java/Bean property to bind to. * @return A new JavaFX property bound to the Java/Bean property. * @throws NoSuchMethodException * If the specified Java/Bean property does not exist (check the * property's spelling). */ public StringProperty bindString(String property) throws NoSuchMethodException { return observePropertyChanges( JavaBeanStringPropertyBuilder.create().bean(getWrappedObject()).name(property).build()); }