Lines Matching refs:i
469 for (var i = 0; i < buttonNum; i++)
471 var buttonText = textStrings[i];
475 buttonText = textStrings[i].substring(1);
476 selectedButton = i;
479 …buttonWidths[i] = mxUtils.getSizeForString(buttonText, fontSize, mxConstants.DEFAULT_FONTFAMILY).w…
480 buttonTotalWidth += buttonWidths[i];
493 for (var i = 0; i < buttonNum; i++)
495 if (i === selectedButton)
505 this.buttonText(c, currWidth, trueH, textStrings[i], buttonWidths[i], fontSize, minW, trueW);
506 currWidth = currWidth + buttonWidths[i] + labelOffset;
531 for (var i = 1; i < buttonNum; i++)
533 if (i !== selectedButton && i !== (selectedButton + 1))
537 for (var j = 0; j < i; j++)
554 for (var i = 0; i < selectedButton; i++)
556 buttonLeft += buttonWidths[i] + 2 * labelOffset;
718 for (var i = 0; i < gridSize[0]; i++)
722 c.rect(boxSizeX * 1.1 * i, boxSizeY * 1.1 * j, boxSizeX, boxSizeY);