• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using ComboBoxTableCell with custom class

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem using ComboBoxTableCells with custom classes in my code. The table/table column definitions:



I setup a Facade class to avoid troubles when ComboBoxTableCell calls toString to make the text readable instead of showing a standard string output of the whole class.

I assign a ObservableList like this to the table and setup the cell factories like this:



Now my problem is that:

1. the data for the metadataColumn is shown as a huge string showing
the contents of the class, whereas the data for geometryColumn are
shown in a human readable way
2. the observable list is not updated
correctly.

Any hints, ideas, suggestions, ... are highly appreciated!

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic