title: Get Checked items in Checkbox tree-view JavaFx
body: <p>I am creating application in javaFX, Where I have used   Treeview<br>
  with CheckBoxTreeItem of String as its nodes.
   I want to get all checked item in the treeview , How do I achieve that?</p>
  
  <p>Heres code :</p>
  
  <pre><code>private TreeView&lt;String&gt; treeView_businessAreas;
  Set&lt;String&gt; businessAreas = config.getBusinessAreas();
      CheckBoxTreeItem&lt;String&gt; item = null;
      for (String businessArea : businessAreas) {
          item = new CheckBoxTreeItem&lt;&gt;(businessArea);
          root.getChildren().add(item);
      }
  
  
  
      treeView_businessAreas.setRoot(root);
  </code></pre>