All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.javafx.property.adapter.JavaBeanQuickAccessor Maven / Gradle / Ivy

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();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy