Lines Matching refs:cell

93 		this.setDefaultStyle = function(cell)  argument
97 var state = graph.view.getState(cell);
102 var clone = cell.clone();
118 var cellStyle = graph.getModel().getStyle(state.cell);
140 if (graph.getModel().isEdge(state.cell))
149 …ireEvent(new mxEventObject('styleChanged', 'keys', keys, 'values', values, 'cells', [state.cell]));
236 var cell = cells[i];
248 var cellStyle = model.getStyle(cell);
290 var edge = model.isEdge(cell);
292 var newStyle = model.getStyle(cell);
315 model.setStyle(cell, newStyle);
642 graph.cellEditor.stopEditing = function(cell, trigger) argument
690 graph.popupMenuHandler.factoryMethod = mxUtils.bind(this, function(menu, cell, evt) argument
692 this.menus.createPopupMenu(menu, cell, evt);
1233 graph.dblClick = function(evt, cell) argument
1237 if (cell == null && ui.sidebar != null && !mxEvent.isShiftDown(evt) &&
1275 …this.graph.connectVertex(state.cell, dir, this.graph.defaultEdgeLength, evt, null, null, mxUtils.b…
1277 var temp = graph.getCompositeParent(state.cell);
1283 cell = temp;
1284 temp = graph.model.getParent(cell)
1291 ui.showShapePicker(me.getGraphX(), me.getGraphY(), temp, mxUtils.bind(this, function(cell) argument
1293 execute(cell);
1297 ui.hoverIcons.update(graph.view.getState(cell));
1333 this.hoverIcons.currentState.cell : null);
1334 var div = ui.showShapePicker(x, y, temp, mxUtils.bind(this, function(cell) argument
1336 if (cell != null)
1340 execute(cell);
1344 ui.hoverIcons.update(graph.view.getState(cell));
1482 var addCell = mxUtils.bind(this, function(cell) argument
1493 this.sidebar.graph.pasteStyle(style, [cell]);
1497 …ui.insertHandler([cell], cell.value != '' && urlParams['sketch'] != '1', this.sidebar.graph.model);
1500 …this.sidebar.createThumb([cell], 25, 25, node, null, true, false, cell.geometry.width, cell.geomet…
1504 var clone = graph.cloneCell(cell);
1513 graph.view.translate.x - cell.geometry.width / 2);
1515 graph.view.translate.y - cell.geometry.height / 2);
1572 EditorUi.prototype.getCellsForShapePicker = function(cell, hovering) argument
1579 return [(cell != null) ? this.editor.graph.cloneCell(cell) :
1955 this.editor.graph.cellEditor.stopEditing = function(cell, trigger) argument
3749 this.editor.graph.cellEditor.stopEditing = function(cell, trigger) argument
3777 var cell = cells[i];
3779 if (graph.isCellEditable(cell))
3781 editable.push(cell);
3784 if (graph.getModel().isEdge(cell))
3789 if (graph.getModel().isVertex(cell))
3793 if (graph.getModel().getChildCount(cell) > 0 ||
3794 graph.isContainer(cell))
4399 var cell = (graph.isTableCell(cells[i])) ? graph.model.getParent(cells[i]) : cells[i];
4401 if (cell != null && !lookup.get(cell))
4403 lookup.put(cell, true);
4404 newCells.push(cell);
4970 EditorUi.prototype.showDataDialog = function(cell) argument
4972 if (cell != null)
4974 var dlg = new EditDataDialog(this, cell);
5165 var cell = graph.getSelectionCell();
5166 var parent = graph.model.getParent(cell);
5170 if (graph.getSelectionCount() == 1 && graph.model.isVertex(cell) &&
5171 graph.layoutManager != null && !graph.isCellLocked(cell))
5178 var index = parent.getIndex(cell);
5182 graph.model.add(parent, cell, Math.max(0, index - 1));
5186 graph.model.add(parent, cell, Math.min(graph.model.getChildCount(parent), index + 1));