com.sun.javafx.property.adapter.JavaBeanQuickAccessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjfx-78-backport Show documentation
Show all versions of openjfx-78-backport Show documentation
This is a backport of OpenJFX 8 to run on Java 7.
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.sun.javafx.property.adapter;
import javafx.beans.property.adapter.ReadOnlyJavaBeanObjectProperty;
import javafx.beans.property.adapter.ReadOnlyJavaBeanObjectPropertyBuilder;
public final class JavaBeanQuickAccessor {
private JavaBeanQuickAccessor() {
}
public static ReadOnlyJavaBeanObjectProperty createReadOnlyJavaBeanObjectProperty(Object bean, String name) throws NoSuchMethodException {
return ReadOnlyJavaBeanObjectPropertyBuilder.create().bean(bean).name(name).build();
}
}