src/codeandchords/ModuleMenu.java
protected void resetHSBSlidersTextfields()
	{
		if(this.firstHSBSliderId > 0)
		{
			int	hsbId	= this.firstHSBSliderId;

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