Lines Matching refs:index
230 function ChangePage(ui, page, select, index, noSelect) argument
234 this.index = index;
250 this.previousIndex = this.index;
252 if (this.index == null)
256 this.index = tmp;
260 this.ui.pages.splice(this.index, 0, this.relatedPage);
261 this.index = null;
363 var index = this.getPageIndex((sourcePage != null) ?
370 return index + 1;
1018 EditorUi.prototype.insertPage = function(page, index) argument
1028 index = (index != null) ? index : this.pages.length;
1031 var change = new ChangePage(this, page, page, index);
1282 (mxUtils.bind(this, function(index, tab) argument
1284 if (this.pages[index] == this.currentPage)
1307 startIndex = index;
1336 if (startIndex != null && index != startIndex)
1339 this.movePage(startIndex, index);
1513 (mxUtils.bind(this, function(index) argument
1515 var item = menu.addItem(this.pages[index].getName(), null, mxUtils.bind(this, function()
1517 this.selectPage(this.pages[index]);
1520 var id = this.pages[index].getId();
1521 item.setAttribute('title', this.pages[index].getName() +
1523 ' [' + (index + 1)+ ']');
1526 if (this.pages[index] == this.currentPage)
1903 if (obj.index == null)
1987 obj.index = obj.previousIndex;