context: proto.addCol = function(vWidth){  var vPos = this._colWidths.length + 1;    var vComputed, vType;    switch(typeof vWidth)  {    case "number":      vComputed = vWidth;      vType = "static";      break;          case "string":      if (vWidth == "auto")      {        vType = "auto";        vComputed = this._computeAutoColWidth(vPos, vWidth);        break;      }      else if (vWidth.indexOf("*") == 0)      {        vType = "any";        vComputed = this._computeAnyColWidth(vPos, vWidth);        break;      }      else if (vWidth.indexOf("%") == (vWidth.length-1))      {        vType = "percent";        vComputed = this._computePercentColWidth(vPos, vWidth);        break;      };            var vTemp = parseInt(vWidth);      if (!isNaN(vTemp))      {        vComputed = vTemp;        vType = "static";                break;      };                default:      throw new Error("Unsupported Col Type: " + vWidth);  };    this._colWidths.push(vWidth);  this._colCount = this._colWidths.length;    if (isValidString(vType)) {    this._computedColTypes.push(vType);  };    if (isValidNumber(vComputed)) {    this._computedColWidths.push(vComputed);  };    // mhh, does this work?    for (var i=0, l=this.getRowCount(); i<l; i++) {    this._virtualCells.insertAt(document.createElement("div"), i*this._colCount);  };  };
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/9d77d559f8a879bd7133fbbf703d1aecbd57aff4/QxGridLayout.js/clean/qooxdoo/source/script/widgets/QxGridLayout.js