python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

RadioCheckbox Component #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This would be a great component to go along with the RadioGroup component.  
Since RadioCheckboxes (not sure what they are really called, so feel free to 
rename it properly) have their own id's just like RadioGroups, I felt they 
deserved their own component.

Here are some examples of some functions that would be great.

public boolean currentStatus(String nameOfRadioCheckBox) {
    //returns true if the component passed is selected, otherwise returns false
}

public boolean settStatus(String nameOfRadioCheckbox, boolean true/false) {
    //allows you to set the specific Status of a specific RadioCheckbox
    //Obviously if you set one of them to true, it would make whatever was 
    //already checked, unchecked

    return true/false //return true if you had to clear a different
                      //checkboxes status, false if they were clear already
}

public void settStatus(String nameOfRadioCheckbox, boolean true/false) {
    //allows you to set the specific Status of a specific RadioCheckbox
    //Obviously if you set one of them to true, it would make whatever was 
    //already checked, unchecked
    }

Original issue reported on code.google.com by bric...@gmail.com on 22 Feb 2012 at 2:34

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 22 Feb 2012 at 6:26

GoogleCodeExporter commented 8 years ago
Added RadioCheckBox component. It works exactly like the regular CheckBox, only 
it's a radio button to "check".

Original comment by IMPINC...@gmail.com on 22 Feb 2012 at 6:56