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

org.datafx.flow.wysiwyg.netview.NetConnection Maven / Gradle / Ivy

The newest version!
package org.datafx.flow.wysiwyg.netview;

import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;

public class NetConnection {

    private ObjectProperty startItem;

    private ObjectProperty endItem;

    public NetConnection() {
        startItem = new SimpleObjectProperty<>();
        endItem = new SimpleObjectProperty<>();
    }

    public T getEndItem() {
        return endItem.get();
    }

    public ObjectProperty endItemProperty() {
        return endItem;
    }

    public void setEndItem(T endItem) {
        this.endItem.set(endItem);
    }

    public T getStartItem() {
        return startItem.get();
    }

    public ObjectProperty startItemProperty() {
        return startItem;
    }

    public void setStartItem(T startItem) {
        this.startItem.set(startItem);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy