I have created an instance of ButtonGroup and associated that to two RadioButtons. The RadioButtons are added to a Container and the Container added to a Form screen. When the "Back" button is pressed, I want to clear the ButtonGroup selection and reset certain variable instances. I want to place the code in the ActionListener I have made for the "Back" function. My question is how to retrieve the reference of the ButtonGroup in order to clearSelection()?
While looking at animateLayout()
method of ComponentSelector
for another issue that I had, I realized that I may use this Class to obtain Component
object references jQuery style elegantly. Very powerful and useful concept for codename one.
should adding or removing components trigger a repaint?