src/codeandchords/ModuleMenu.java
protected void resetModulateSlidersTextfields()
	{
		if(this.firstHSBSliderId > 0 && this.firstRGBSliderId > 0)
		{

			int	hsbId	= this.firstHSBSliderId;
			int	rgbId	= this.firstRGBSliderId;

			for(int i = 0; i < 3; i++)
			{
				this.controlP5.getController("slider" + hsbId).setValue(0);
				this.controlP5.getController("slider" + rgbId).setValue(0);
				hsbId	= hsbId + 1;
				rgbId	= rgbId + 1;
			} // for

			this.fillHSBColors();
		} else {
			System.out.println("ModuleTemplate.resetModulateSlidersTextfields: either HSB or RGB sliders have not yet been initialized " +
					"(firstHSBSliderId = " + this.firstHSBSliderId + " and firstRGBSliderId = " + this.firstRGBSliderId + ")");
		} // else - let the user know that we ignored this method call

	}
/**
	 * Sets the Sliders and Textfields for RGB and HSB color modulate to 0
	 * and calls this.fillHSBColors().
	 */
Sets the Sliders and Textfields for RGB and HSB color modulate to 0
and calls this.fillHSBColors().
Sets the Sliders and Textfields for RGB and HSB color modulate to 0 and calls this . fillHSBColors () .
protected void resetModulateSlidersTextfields()
	{
		if(this.firstHSBSliderId > 0 && this.firstRGBSliderId > 0)
		{
			int	hsbId	= this.firstHSBSliderId;
			int	rgbId	= this.firstRGBSliderId;
			for(int i = 0; i < 3; i++)
			{
				this.controlP5.getController("slider" + hsbId).setValue(0);
				this.controlP5.getController("slider" + rgbId).setValue(0);
				hsbId	= hsbId + 1;
				rgbId	= rgbId + 1;
			} 
			this.fillHSBColors();
		} else {
			System.out.println("ModuleTemplate.resetModulateSlidersTextfields: either HSB or RGB sliders have not yet been initialized " +
					"(firstHSBSliderId = " + this.firstHSBSliderId + " and firstRGBSliderId = " + this.firstRGBSliderId + ")");
		} 
	}
protected void resetModulateSlidersTextfields ( ) { if ( this . firstHSBSliderId > 0 && this . firstRGBSliderId > 0 ) { int hsbId = this . firstHSBSliderId ; int rgbId = this . firstRGBSliderId ; for ( int i = 0 ; i < 3 ; i ++ ) { this . controlP5 . getController ( "slider" + hsbId ) . setValue ( 0 ) ; this . controlP5 . getController ( "slider" + rgbId ) . setValue ( 0 ) ; hsbId = hsbId + 1 ; rgbId = rgbId + 1 ; } this . fillHSBColors ( ) ; } else { System . out . println ( "ModuleTemplate.resetModulateSlidersTextfields: either HSB or RGB sliders have not yet been initialized " + "(firstHSBSliderId = " + this . firstHSBSliderId + " and firstRGBSliderId = " + this . firstRGBSliderId + ")" ) ; } }
Sets the Sliders and Textfields for RGB and HSB color modulate to 0
 and calls this.fillHSBColors().
Sets the Sliders and Textfields for RGB and HSB color modulate to 0 and calls this . fillHSBColors () .
// for // else - let the user know that we ignored this method call