title: Method JavaFx TreeItem getRoot() is not visible. What is the OOP/MVC reason it is not?
body: <p>I needed to get the root item of a TreeView. The obvious way to get it is to use the getRoot() on the TreeView. Which I use.</p>
  <p>I like to experiment, and was wondering if I can get same root, buy climbing up the tree from a leaf item (a TreeItem), using recursively getParent() until the result is NULL.</p>
  <p>It is working as well, and, in my custom TreeItem, I added a public method 'getRoot()' to play around with it. Thus finding out this method does already exist in parent TreeItem, but is not exposed.</p>
  <p>My question : Why would it not be exposed ? Is is a bad practice regarding OOP / MVC architecture ?</p>