title: JavaFX: How to highlight certain Items in a TreeView
body: <p>I am trying to implement a search function for a <code>TreeView</code> in JavaFX. I want to highlight all the matches when the user hits the enter key. So I added a <code>boolean isHighlighted</code> to my <code>TreeItem</code> and in my <code>TreeCell</code>s <code>updateItem</code>, I check whether the item <code>isHighlighted</code> and if so I apply a certain CSS. Everything works fine with the items/cells not visible at the moment of the search -- when I scroll to them, they are properly highlighted. The problem is: How can I "repaint" the TreeCells visible at search so that they reflect whether their item <code>isHighlighted</code>?  My Controller does currently not have any reference to the <code>TreeCells</code> the <code>TreeView</code> creates.</p>