title: Expandable List in javafx like android
body: <p>In Android There is a ListView Like This
  <img src="https://i.stack.imgur.com/hRd6B.png" alt="enter image description here" /></p>
  <p>How Can This be acheived in Java FX, Any links, suggestion or Custom Components ? I goggled and did not find any? however the closely related is Accordion but it does not suit look and feel. it should b like a LIST with evenly sized cells. any Help? I am using JavaFx 2.</p>
  <h1>Edit:</h1>
  <p>As suggested in comments that tree view can help me. Ok. But i tried to use tree view and i also read this blog post <a href="http://myjavafx.blogspot.com/2012/03/treeview-with-data-source.html" rel="nofollow noreferrer">http://myjavafx.blogspot.com/2012/03/treeview-with-data-source.html</a>
  but how can I customize the one row. i mean how can i map or bind the data from my Alerts POJO to different labels and image views .
  e.g some thing like</p>
  <pre><code>TreeView&lt;Alerts&gt; tv = new TreeView&lt;&gt;(new Alerts(&quot;Incedent Name&quot;,&quot;Alerts Title&quot;,
                  &quot;Short Message&quot;,&quot;Sender&quot;,new Date(),new Image(&quot;titleImage.png&quot;),
                  typeColor));
  </code></pre>
  <p>and all these value mapped to corresponding Labels and Images to in a single row.
  As There is no Expandable List right now offered by JavaFX so I think this approach. can any body have suggestions or sample mapping code etc.</p>