Why is `TableCell`'s `tableRow` property not generic?

本秂侑毒 提交于 2019-12-24 06:47:44

问题


Looking at TableCell we can see it has properties for its table view, column and row, but while the TableView and TableColumn properties are generic, the one for TableRow is a raw type, which forces you to cast unnecessarily if you want to use it.

Is there a technical reason for this? Is this an oversight by the designers of JavaFX? A bug perhaps?

来源:https://stackoverflow.com/questions/42553948/why-is-tablecells-tablerow-property-not-generic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!