Menu

#303 TableView: ClusterCellRenderer is registered for all integer values

any future version
open
nobody
table view (4)
5
2018-05-09
2018-05-09
No

To display the clusters in the table, the ClusterCellRenderer is used, to paint the cells in the respective color. The value for the cluster is an integer value so the renderer is registered for Integer.class.

This might lead to display errors if an integer property is present. A comment already points out this fact.

A simple solution would be to create a wrapper class for the clustering value and register the ClusterCellRenderer for this class.

Discussion


Log in to post a comment.