package scenegraphdemo;
import javafx.beans.binding.Bindings;
import javafx.beans.binding.ObjectBinding;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.scene.control.TreeCell;
import javafx.scene.control.TreeView;
import javafx.util.Callback;
/**
* A TreeCell implementation that searches for templates to create
* nodes for a cell.
*
* @author Mr. Java
*
*/
@SuppressWarnings("rawtypes")
public class TemplatedTreeCell extends TreeCell {
public static Callback createCellFactoryCallback() {
return new Callback() {
@Override
public TreeCell