mirror of https://github.com/sojamo/controlp5
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
|
* Sets the value for all CheckBox items according to the values of the array passed on.
|
||||||
* turn off an item, any other value will turn it on.
|
* 0 will turn off an item, any other value will turn it on.
|
||||||
*/
|
*/
|
||||||
@Override @SafeVarargs public final T setArrayValue( final float... theArray ) {
|
@Override @SafeVarargs public final T setArrayValue( final float... theArray ) {
|
||||||
if ( theArray != null && !_myRadioToggles.isEmpty( ) ) synchronized ( _myRadioToggles ) {
|
if ( theArray != null && !_myRadioToggles.isEmpty( ) ) synchronized ( _myRadioToggles ) {
|
||||||
|
@ -520,7 +520,7 @@ public class CheckBox extends ControlGroup< CheckBox > {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CheckBox toUpperCase( boolean theValue ) {
|
public CheckBox toUpperCase( final boolean theValue ) {
|
||||||
synchronized ( _myRadioToggles ) {
|
synchronized ( _myRadioToggles ) {
|
||||||
for ( final Toggle tog : _myRadioToggles ) tog.getCaptionLabel( ).toUpperCase( theValue );
|
for ( final Toggle tog : _myRadioToggles ) tog.getCaptionLabel( ).toUpperCase( theValue );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue