title: running through a loop inside a ListView in JavaFX
body: <p>I managed to get the selected last value of the ListView with <strong>getSelectedItem()</strong>, but i cannot find out how to run through every value inside so that with <strong>SelectionMode.MULTIPLE</strong> i can get all the selected values.</p>
  
  <pre><code>listView.setOnMouseClicked(new EventHandler&lt;MouseEvent&gt;(){
          public void handle(MouseEvent event) {
              label.setText(listView.getSelectionModel().getSelectedItem());
          }
      });
  </code></pre>