mirror of
https://github.com/sojamo/controlp5
synced 2024-11-16 19:27:56 +01:00
Update CheckBox.java
This commit is contained in:
parent
73faed8e7e
commit
f0e6f3c3f4
@ -194,8 +194,8 @@ public class CheckBox extends ControlGroup< CheckBox > {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value for all CheckBox items according to the values of the array passed on. 0 will
|
||||
* turn off an item, any other value will turn it on.
|
||||
* Sets the value for all CheckBox items according to the values of the array passed on.
|
||||
* 0 will turn off an item, any other value will turn it on.
|
||||
*/
|
||||
@Override @SafeVarargs public final T setArrayValue( final float... theArray ) {
|
||||
if ( theArray != null && !_myRadioToggles.isEmpty( ) ) synchronized ( _myRadioToggles ) {
|
||||
@ -520,7 +520,7 @@ public class CheckBox extends ControlGroup< CheckBox > {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CheckBox toUpperCase( boolean theValue ) {
|
||||
public CheckBox toUpperCase( final boolean theValue ) {
|
||||
synchronized ( _myRadioToggles ) {
|
||||
for ( final Toggle tog : _myRadioToggles ) tog.getCaptionLabel( ).toUpperCase( theValue );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user