cannot use the [setStytle] methord...
because there is no such methord of treeItem
can set the style by rewrite the CellFactory
--------
treeView
                .setCellFactory(new Callback<TreeView<Object>, TreeCell<Object>>() {
                    public TreeCell<Object> call(TreeView<Object> param) {
                        return new TreeCell<Object>() {
                            public void updateItem(Object item, boolean empty) {
                                        super.updateItem(item, empty);
                                       if (empty) {
                                         setText(null);
                                        setGraphic(null);
                                       } else {
                                     .......
                                     setStyle(..........) 
                                    . .... 
                                      }
                             }
                        }
                 } 
                    
--------