title: How to get a property from an observablelist with multiple properties
body: <pre><code>private final ObservableList&lt;City&gt; cityList = FXCollections.observableArrayList(city
          -&gt; new Observable[]{
              city.cityNameProperty(),
              city.cityLonProperty(),
              city.cityLatProperty()});
  
  public ObservableList&lt;City&gt; getCityList() {
      return cityList;
  }
  </code></pre>
  
  <p>How can I retrieve the cityNameProperty from one object inside the observableArrayList for setting a listview?</p>
  
  <p>I did </p>
  
  <pre><code>cityView.setItems(cityList.getCityList());
  </code></pre>
  
  <p>But this is setting the objects (city@59f..etc), whereas I need the properties of the objects.</p>