List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Check the state of the checkbox of a tree node


  • Subject: [QF-Test] Check the state of the checkbox of a tree node
  • From: Joaquin Rodriguez Guerra <Joaquin.RodriguezGuerra@?.int>
  • Date: Mon, 24 Jun 2013 12:01:43 +0200

Hey everyone,

I have a swing tree where very node is composed by a checkbox and a label.
I am selecting/deselecting the checkboxes in the swing tree by using the swing.tree.selectNode procedure.
Now I would be interested in knowing if the checkbox of a node is selected or not, before selecting the node again.
Is there an easy way to do this? I tried to record the action to get the Checkbox id, but it seems like it only sees a click on a tree node.

Thanks in advance!
Cheers,
Joaquín