treefield

Parent Node or Child Node in Blackberry Tree Field?

我只是一个虾纸丫 提交于 2020-01-05 09:09:03
问题 I need to traverse a Tree Field in Blackberry . I need to know how to check from the existing node whether it is a parent node or child node ? Since I need a different row color for Child rows and Parent rows I have referred a previous question of Customising TreeField as seen in link below Customising Blackberry Treefield 回答1: It looks like you're already using the TreeFieldCallback to customize painting of your tree field. You can detect parent vs. child nodes here in drawTreeItem().

Customising Blackberry Treefield

吃可爱长大的小学妹 提交于 2019-11-27 02:26:53
问题 I want to customise the (+) sign that appears on the left side of tree view Is it possible I want to place image in that place i have tried to customise and searched the forums also Blackberry forums where one of them said its not possible but then i got a link for this As below which says it is possible http://supportforums.blackberry.com/t5/Java-Development/Custom-TreeField/td-p/354901 where the HardwareDevice class seems to be missing Can anyone explain this concept using the link or any