There is no separate RadioButton group class .. its the same RadioButton class which makes the radio button to be treated as a group or a separate radiobutton.
Only the first parameter decides whether it wil be treated as a radio button or radiobutton group.
RadioButton radio1 = new RadioButton("Group Name", "Label Name1");
RadioButton radio2 = new RadioButton("Group Name", "Label Name2");
So now two radio button belong to the same group "Group Name" ..
No comments:
Post a Comment