Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Using ComboBoxTableCell with custom class

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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!

 
Their achilles heel is the noogie! Give them noogies tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic