public void SetParamValue( int index, String paramValue )
{
if ( index < 0 || index >= this.names.Count )
{
String desc = "ParamsPanel \"" + Name + "\" has no parameter at position " + index + ".";
throw new System.IndexOutOfRangeException( desc );
}
if ( this.values.Count < index )
this.values.Insert( index, paramValue );
else
this.values[ index ] = paramValue;
this.UpdateText();
}