/*
 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package javafx.scene.control.cell;

/**
Builder class for javafx.scene.control.cell.PropertyValueFactory
@see javafx.scene.control.cell.PropertyValueFactory
@deprecated This class is deprecated and will be removed in the next version
* @since JavaFX 2.0
*/
@javax.annotation.Generated("Generated by javafx.builder.processor.BuilderProcessor")
@Deprecated
public class PropertyValueFactoryBuilder<S, T, B extends javafx.scene.control.cell.PropertyValueFactoryBuilder<S, T, B>> implements javafx.util.Builder<javafx.scene.control.cell.PropertyValueFactory<S, T>> {
    protected PropertyValueFactoryBuilder() {
    }

    /** Creates a new instance of PropertyValueFactoryBuilder. */
    @SuppressWarnings({"deprecation", "rawtypes", "unchecked"})
    public static <S, T> javafx.scene.control.cell.PropertyValueFactoryBuilder<S, T, ?> create() {
        return new javafx.scene.control.cell.PropertyValueFactoryBuilder();
    }

    private java.lang.String property;
    /**
    Set the value of the {@link javafx.scene.control.cell.PropertyValueFactory#getProperty() property} property for the instance constructed by this builder.
    */
    @SuppressWarnings("unchecked")
    public B property(java.lang.String x) {
        this.property = x;
        return (B) this;
    }

    /**
    Make an instance of {@link javafx.scene.control.cell.PropertyValueFactory} based on the properties set on this builder.
    */
    public javafx.scene.control.cell.PropertyValueFactory<S, T> build() {
        javafx.scene.control.cell.PropertyValueFactory<S, T> x = new javafx.scene.control.cell.PropertyValueFactory<S, T>(this.property);
        return x;
    }
}
