Lines Matching refs:cell

304 	this.isHtmlLabel = function(cell)  argument
306 var style = this.getCurrentCellStyle(cell);
334 if (this.model.isEdge(state.cell))
337 start.selected = this.isCellSelected(state.cell);
348 var handler = this.selectionCellsHandler.getHandler(state.cell);
358 var handler = this.selectionCellsHandler.getHandler(state.cell);
368 if (this.isTableCell(state.cell) && !this.isCellSelected(state.cell))
370 var row = this.model.getParent(state.cell);
375 var geo = this.getCellGeometry(state.cell);
382 … this.model.getChildAt(row, 0) != state.cell) || mxUtils.intersects(box, new mxRectangle(
407 while (!me.isConsumed() && current != null && (this.isTableCell(current.cell) ||
408 this.isTableRow(current.cell) || this.isTable(current.cell)))
410 if (this.isSwimlane(current.cell))
412 var offset = this.getActualStartSize(current.cell);
420 this.selectCellForEvent(current.cell, me.getEvent());
421 handler = this.selectionCellsHandler.getHandler(current.cell);
433 current = this.view.getState(this.model.getParent(current.cell));
470 var handler = this.selectionCellsHandler.getHandler(state.cell);
472 if (handler == null && this.model.isEdge(state.cell))
583 if (!this.isCellSelected(state.cell))
585 this.selectionCellsHandler.handlers.put(state.cell, handler);
586 this.selectCellForEvent(state.cell, me.getEvent());
589 else if (!this.isCellSelected(state.cell))
609 if (state != null && this.isCellEditable(state.cell))
614 if (this.model.isEdge(state.cell))
656 if (this.isTableCell(state.cell))
658 var row = this.model.getParent(state.cell);
664 this.model.getChildAt(row, 0) != state.cell) || mxUtils.intersects(box,
681 while (cursor == null && current != null && (this.isTableCell(current.cell) ||
682 this.isTableRow(current.cell) || this.isTable(current.cell)))
684 if (this.isSwimlane(current.cell))
686 var offset = this.getActualStartSize(current.cell);
703 current = this.view.getState(this.model.getParent(current.cell));
732 if (state.view.graph.isHtmlLabel(state.cell))
769 this.connectionHandler.isValidSource = function(cell, me) argument
827 return (state.cell == null) ? '#ffa500' /* orange */ : mxConstants.GUIDE_COLOR;
853 var cell = (this.graph.isTableCell(initialCell) &&
862 if (cell != null && !lookup.get(cell))
864 lookup.put(cell, true);
865 newCells.push(cell);
875 this.graphHandler.start = function(cell, x, y, cells) argument
880 if (this.graph.isTableCell(cell))
882 if (!this.graph.isCellSelected(cell))
884 cell = this.graph.model.getParent(cell);
892 if (!ignoreParent && (!this.graph.isTableRow(cell) || !this.graph.isCellSelected(cell)))
894 cell = this.graph.getCompositeParent(cell);
1001 this.isCellLocked(me.sourceState.cell);
1005 var cell = (locked) ? me.sourceState.cell : me.getCell();
1007 if (cell != null)
1009 var link = this.getClickableLinkForCell(cell);
1072 … var locked = me.state == null && me.sourceState != null && this.isCellLocked(me.sourceState.cell);
1074 return this.getCursorForCell((locked) ? me.sourceState.cell : me.getCell());
1080 this.getCursorForCell = function(cell) argument
1082 if (!this.isEnabled() || this.isCellLocked(cell))
1084 var link = this.getClickableLinkForCell(cell);
1090 else if (this.isCellLocked(cell))
1137 this.isCellLocked = function(cell) argument
1139 while (cell != null)
1141 if (mxUtils.getValue(this.getCurrentCellStyle(cell), 'locked', '0') == '1')
1146 cell = this.model.getParent(cell);
1162 if (state != null && !this.isSelectionEmpty() && !this.isCellSelected(state.cell))
1180 var cell = evt.getProperty('cell');
1182 if (cell == null)
1192 else if (this.getSelectionCount() > 1 && this.isCellSelected(cell))
1194 this.removeSelectionCell(cell);
1214 return source && (graph.isCellSelected(state.cell) || (graph.isTableRow(state.cell) &&
1215 graph.selectionCellsHandler.isHandled(graph.model.getParent(state.cell))));
2179 return model.filterDescendants(function(cell) argument
2181 return (vertices && model.isVertex(cell)) || (edges && model.isEdge(cell));
2242 Graph.prototype.getStartEditingCell = function(cell, trigger) argument
2245 var style = this.getCellStyle(cell);
2248 if (this.isTable(cell) && (!this.isSwimlane(cell) ||
2249 size == 0) && this.getLabel(cell) == '' &&
2250 this.model.getChildCount(cell) > 0)
2252 cell = this.model.getChildAt(cell, 0);
2254 style = this.getCellStyle(cell);
2259 if (this.isTableRow(cell) && (!this.isSwimlane(cell) ||
2260 size == 0) && this.getLabel(cell) == '' &&
2261 this.model.getChildCount(cell) > 0)
2263 for (var i = 0; i < this.model.getChildCount(cell); i++)
2265 var temp = this.model.getChildAt(cell, i);
2269 cell = temp;
2275 return cell;
2281 Graph.prototype.copyStyle = function(cell) argument
2285 if (cell != null)
2287 style = mxUtils.clone(this.getCurrentCellStyle(cell));
2290 var cellStyle = this.model.getStyle(cell);
2409 var cell = this.model.getChildAt(parent, i);
2410 var result = this.getScaledCellAt(x, y, cell, vertices, edges, ignoreFn);
2416 else if (this.isCellVisible(cell) && (edges && this.model.isEdge(cell) ||
2417 vertices && this.model.isVertex(cell)))
2419 var state = this.view.getState(cell);
2424 return cell;
2438 return !this.isSwimlane(state.cell) && this.model.getChildCount(state.cell) > 0 &&
2439 …!this.isCellCollapsed(state.cell) && mxUtils.getValue(state.style, 'recursiveResize', '1') == '1' …
2446 Graph.prototype.getAbsoluteParent = function(cell) argument
2448 var result = cell;
2463 Graph.prototype.isPart = function(cell) argument
2465 return mxUtils.getValue(this.getCurrentCellStyle(cell), 'part', '0') == '1' ||
2466 this.isTableCell(cell) || this.isTableRow(cell);
2472 Graph.prototype.getCompositeParent = function(cell) argument
2474 while (this.isPart(cell))
2476 var temp = this.model.getParent(cell);
2483 cell = temp;
2486 return cell;
2594 mxGraphView.prototype.validate = function(cell) argument
2773 if (!this.isEnabled() || this.isCellLocked(state.cell))
2920 this.layoutManager.hasLayout = function(cell, eventName) argument
2922 return this.graph.getCellStyle(cell)['childLayout'] != null;
2925 this.layoutManager.getLayout = function(cell, eventName) argument
2927 var parent = this.graph.model.getParent(cell);
2934 var style = this.graph.getCellStyle(cell);
3089 if (this.model.isEdge(state.cell) &&
3095 else if (this.model.isVertex(state.cell) &&
3152 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), 1);
3173 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), (wipeIn) ? 1 : 0);
3203 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), 1);
3224 Graph.setOpacityForNodes(this.getNodesForCells([state.cell]), (wipeIn) ? 1 : 0);
3328 var cell = this.model.cells[key];
3330 if (this.isReplacePlaceholders(cell))
3332 this.view.invalidate(cell, false, false);
3346 Graph.prototype.isReplacePlaceholders = function(cell) argument
3348 return cell.value != null && typeof(cell.value) == 'object' &&
3349 cell.value.getAttribute('placeholders') == '1';
3392 Graph.prototype.isEdgeIgnored = function(cell) argument
3396 if (cell != null)
3398 var style = this.getCurrentCellStyle(cell);
3419 Graph.prototype.getLabel = function(cell) argument
3423 if (result != null && this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') == null)
3425 result = this.replacePlaceholders(cell, result);
3434 Graph.prototype.isLabelMovable = function(cell) argument
3436 var style = this.getCurrentCellStyle(cell);
3438 return !this.isCellLocked(cell) &&
3439 ((this.model.isEdge(cell) && this.edgeLabelsMovable) ||
3440 (this.model.isVertex(cell) && (this.vertexLabelsMovable ||
3456 Graph.prototype.setDefaultParent = function(cell) argument
3458 this.defaultParent = cell;
3471 Graph.prototype.getClickableLinkForCell = function(cell) argument
3475 var link = this.getLinkForCell(cell);
3482 cell = this.model.getParent(cell);
3483 } while (cell != null);
3739 Graph.prototype.replacePlaceholders = function(cell, str, vars, translate) argument
3766 tmp = cell.id;
3770 var current = cell;
3943 if (parentState != null && this.model.isVertex(parentState.cell))
4166 var cell = this.model.cells[key];
4168 if (this.model.isVertex(cell) || this.model.isEdge(cell))
4170 if (this.isHtmlLabel(cell))
4172 tmp.innerHTML = this.sanitizeHtml(this.getLabel(cell));
4177 label = this.getLabel(cell);
4195 Graph.prototype.convertValueToString = function(cell) argument
4197 var value = this.model.getValue(cell);
4203 if (this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') != null)
4205 var name = cell.getAttribute('placeholder');
4206 var current = cell;
4256 Graph.prototype.getLinkForCell = function(cell) argument
4258 if (cell.value != null && typeof(cell.value) == 'object')
4260 var link = cell.value.getAttribute('link');
4278 Graph.prototype.getLinkTargetForCell = function(cell) argument
4280 if (cell.value != null && typeof(cell.value) == 'object')
4282 return cell.value.getAttribute('linkTarget');
4292 Graph.prototype.getCellStyle = function(cell) argument
4296 if (cell != null && this.layoutManager != null)
4298 var parent = this.model.getParent(cell);
4300 if (this.model.isVertex(parent) && this.isCellCollapsed(cell))
4317 Graph.prototype.updateAlternateBounds = function(cell, geo, willCollapse) argument
4319 if (cell != null && geo != null && this.layoutManager != null && geo.alternateBounds != null)
4321 var layout = this.layoutManager.getLayout(this.model.getParent(cell));
4428 if (cells[i] != state.cell)
4498 Graph.prototype.isContainer = function(cell) argument
4500 var style = this.getCurrentCellStyle(cell);
4502 if (this.isSwimlane(cell))
4515 Graph.prototype.isCellConnectable = function(cell) argument
4517 var style = this.getCurrentCellStyle(cell);
4526 Graph.prototype.isLabelMovable = function(cell) argument
4528 var style = this.getCurrentCellStyle(cell);
4609 Graph.prototype.isCellFoldable = function(cell) argument
4611 var style = this.getCurrentCellStyle(cell);
4616 (!this.isCellLocked(cell) &&
4617 ((this.isContainer(cell) && style['collapsible'] != '0') ||
4618 (!this.isContainer(cell) && style['collapsible'] == '1'))));
4716 Graph.prototype.getTooltipForCell = function(cell) argument
4720 if (mxUtils.isNode(cell.value))
4726 tmp = cell.value.getAttribute('tooltip_' + Graph.diagramLanguage);
4731 tmp = cell.value.getAttribute('tooltip');
4736 if (tmp != null && this.isReplacePlaceholders(cell))
4738 tmp = this.replacePlaceholders(cell, tmp);
4746 var attrs = cell.value.attributes;
5058 if (this.currentState != null && !this.graph.isCellSelected(this.currentState.cell) &&
5339 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5353 es.cell.style = mxUtils.setStyle(es.cell.style, 'sourcePortConstraint', direction);
5378 if (tmp != null && this.graph.model.isEdge(tmp.cell) && !this.graph.isCloneEvent(evt) &&
5381 this.graph.setSelectionCell(tmp.cell);
5400 state.cell, dir, this.graph.defaultEdgeLength, evt, this.graph.isCloneEvent(evt),
5439 this.graph.model.isVertex(this.currentState.cell) &&
5440 this.graph.isCellConnectable(this.currentState.cell))
5453 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5455 if (this.graph.isTableRow(this.currentState.cell))
5458 this.graph.model.getParent(this.currentState.cell));
5543 var currentGeo = this.graph.getCellGeometry(this.currentState.cell);
5545 var checkCollision = mxUtils.bind(this, function(cell, arrow) argument
5547 var geo = this.graph.model.isVertex(cell) && this.graph.getCellGeometry(cell);
5550 if (cell != null && !this.graph.model.isAncestor(cell, this.currentState.cell) &&
5551 !this.graph.isSwimlane(cell) && (geo == null || currentGeo == null ||
5614 …var bbox = (!this.graph.model.isEdge(this.currentState.cell)) ? mxRectangle.fromRectangle(this.cur…
5643 var cell = state.cell;
5645 if (!this.graph.getModel().contains(cell))
5652 if (this.graph.getModel().isVertex(cell) && !this.graph.isCellConnectable(cell))
5654 var parent = this.graph.getModel().getParent(cell);
5658 cell = parent;
5663 if (this.graph.isCellLocked(cell) || this.graph.model.isEdge(cell))
5665 cell = null;
5668 state = this.graph.view.getState(cell);
5692 if (state != null && state.cell.geometry != null && state.cell.geometry.relative &&
5693 this.graph.model.isEdge(state.cell.parent))
5905 Graph.prototype.isTableCell = function(cell) argument
5907 return this.model.isVertex(cell) && this.isTableRow(this.model.getParent(cell));
5913 Graph.prototype.isTableRow = function(cell) argument
5915 return this.model.isVertex(cell) && this.isTable(this.model.getParent(cell));
5921 Graph.prototype.isTable = function(cell) argument
5923 var style = this.getCellStyle(cell);
5931 Graph.prototype.isStack = function(cell) argument
5933 var style = this.getCellStyle(cell);
5941 Graph.prototype.isStackChild = function(cell) argument
5943 return this.model.isVertex(cell) && this.isStack(this.model.getParent(cell));
6045 var cell = cells[index];
6046 var geo = this.getCellGeometry(cell);
6058 model.setGeometry(cell, geo);
6064 cell = cells[index + 1];
6065 var geo = this.getCellGeometry(cell);
6082 model.setGeometry(cell, geo);
6187 var cell = this.graph.getCellGeometry(cells[i]);
6189 if (cell != null)
6191 x += (cell.alternateBounds != null ?
6192 cell.alternateBounds.width :
6193 cell.width) * rw / sw;
6223 var cell = this.graph.getCellGeometry(cells[i]);
6225 if (cell != null)
6227 cell = cell.clone();
6229 cell.y = off.y;
6230 cell.height = height - off.y - off.height;
6234 cell.x = positions[i];
6235 cell.width = positions[i + 1] - cell.x;
6240 cell.width = tw - cell.x - off.x - off.width;
6245 cell.x = x;
6246 x += cell.width;
6250 cell.width = tw - off.x - off.width - sw;
6254 sw += cell.width;
6258 cell.alternateBounds = new mxRectangle(0, 0, cell.width, cell.height);
6259 model.setGeometry(cells[i], cell);
6270 upper.geo.height += (cell.alternateBounds != null) ?
6271 cell.alternateBounds.height : cell.height;
6280 last.geo.width += (cell.alternateBounds != null) ?
6281 cell.alternateBounds.width : cell.width;
6289 var temp = {style: style, cell: cells[i], geo: cell}; property in TableLayout.layoutRow.temp
6429 mxGraphView.prototype.validateCellState = function(cell, recurse) argument
6432 var state = this.getState(cell);
6435 if (state != null && recurse && this.graph.model.isEdge(state.cell) &&
6445 if (state != null && recurse && this.graph.model.isEdge(state.cell) &&
6466 this.state.view.graph.model.isEdge(this.state.cell) &&
6508 if (this.graph.model.isEdge(state.cell) &&
6902 result = shape.state.view.graph.replacePlaceholders(shape.state.cell, result);
7484 var cell = cells[i];
7485 lookup[mxObjectIdentity.get(cell)] = cell.getId();
7486 var childCount = this.model.getChildCount(cell);
7490 this.createCellLookup([this.model.getChildAt(cell, j)], lookup);
7666 Graph.prototype.isSwimlane = function(cell, ignoreState) argument
7668 if (cell != null && this.model.getParent(cell) != this.model.getRoot() &&
7669 !this.model.isEdge(cell))
7671 var shape = this.getCurrentCellStyle(cell, ignoreState)
7684 Graph.prototype.isExtendParent = function(cell) argument
7686 var parent = this.model.getParent(cell);
7799 var cell = this.getSelectionCell();
7812 if (temp == cell)
7816 else if ((isNext && cell == null && cells.length > 0) ||
8148 Graph.prototype.updateCustomLinksForCell = function(mapping, cell) argument
8150 this.doUpdateCustomLinksForCell(mapping, cell);
8151 var childCount = this.model.getChildCount(cell);
8156 this.model.getChildAt(cell, i));
8163 Graph.prototype.doUpdateCustomLinksForCell = function(mapping, cell) argument
8255 Graph.prototype.isValidRoot = function(cell) argument
8258 var childCount = this.model.getChildCount(cell);
8263 var child = this.model.getChildAt(cell, i);
8276 return realChildCount > 0 || this.isContainer(cell);
8282 Graph.prototype.isValidDropTarget = function(cell, cells, evt) argument
8284 var style = this.getCurrentCellStyle(cell);
8294 return ((mxUtils.getValue(style, 'part', '0') != '1' || this.isContainer(cell)) &&
8297 this.isContainer(cell)) && !this.isTableRow(cell) &&
8298 (!this.isTable(cell) || rows || tables)) && !this.isCellLocked(cell);
8315 Graph.prototype.isExtendParentsOnAdd = function(cell) argument
8319 if (result && cell != null && this.layoutManager != null)
8321 var parent = this.model.getParent(cell);
8340 Graph.prototype.getPreferredSizeForCell = function(cell) argument
8373 var cell = cells[i];
8375 if (model.isEdge(cell))
8377 var src = model.getTerminal(cell, true);
8378 var trg = model.getTerminal(cell, false);
8380 model.setTerminal(cell, trg, true);
8381 model.setTerminal(cell, src, false);
8383 var geo = model.getGeometry(cell);
8399 model.setGeometry(cell, geo);
8402 var edgeState = this.view.getState(cell);
8411 this.setConnectionConstraint(cell, src, true, tc);
8412 this.setConnectionConstraint(cell, trg, false, sc);
8417 edgeState.style, mxConstants.STYLE_TARGET_PERIMETER_SPACING), [cell]);
8418 this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING, temp, [cell]);
8421 select.push(cell);
8424 else if (model.isVertex(cell))
8426 var geo = this.getCellGeometry(cell);
8431 if (!this.isTable(cell) && !this.isTableRow(cell) &&
8432 !this.isTableCell(cell) && !this.isSwimlane(cell))
8440 model.setGeometry(cell, geo);
8444 var state = this.view.getState(cell);
8454 ((backwards) ? -1 : 1), dirs.length)], [cell]);
8457 select.push(cell);
8501 (this.isTableCell(change.cell) || this.isTableRow(change.cell)) &&
8505 var cell = change.cell;
8507 if (this.isTableCell(cell))
8509 cell = this.model.getParent(cell);
8512 if (this.isTableRow(cell))
8514 cell = this.model.getParent(cell);
8518 var state = this.view.getState(cell);
8522 this.view.invalidate(cell);
8529 if (change instanceof mxValueChange && change.cell != null &&
8530 change.cell.value != null && typeof(change.cell.value) == 'object')
8532 this.invalidateDescendantsWithPlaceholders(change.cell);
8539 Graph.prototype.invalidateDescendantsWithPlaceholders = function(cell) argument
8542 var desc = this.model.getDescendants(cell);
8634 Graph.prototype.cellLabelChanged = function(cell, value, autoSize) argument
8642 if (cell.value != null && typeof cell.value == 'object')
8644 if (this.isReplacePlaceholders(cell) &&
8645 cell.getAttribute('placeholder') != null)
8648 var name = cell.getAttribute('placeholder');
8649 var current = cell;
8665 var tmp = cell.value.cloneNode(true);
8720 if (state != null && (this.model.isEdge(state.cell) ||
8721 this.model.isVertex(state.cell)) &&
8722 this.isCellDeletable(state.cell) &&
8727 for (var j = 0; j < this.model.getChildCount(state.cell) && allChildren; j++)
8729 if (!dict.get(this.model.getChildAt(state.cell, j)))
8737 cells.push(state.cell);
8771 Graph.prototype.setLinkForCell = function(cell, link) argument
8773 this.setAttributeForCell(cell, 'link', link);
8779 Graph.prototype.setTooltipForCell = function(cell, link) argument
8784 mxUtils.isNode(cell.value) && cell.value.hasAttribute('tooltip_' + Graph.diagramLanguage))
8789 this.setAttributeForCell(cell, key, link);
8796 Graph.prototype.getAttributeForCell = function(cell, attributeName, defaultValue) argument
8798 var value = (cell.value != null && typeof cell.value === 'object') ?
8799 cell.value.getAttribute(attributeName) : null;
8807 Graph.prototype.setAttributeForCell = function(cell, attributeName, attributeValue) argument
8811 if (cell.value != null && typeof(cell.value) == 'object')
8813 value = cell.value.cloneNode(true);
8820 value.setAttribute('label', cell.value || '');
8832 this.model.setValue(cell, value);
8839 Graph.prototype.getDropTarget = function(cells, evt, cell, clone) argument
8906 Graph.prototype.dblClick = function(evt, cell) argument
8910 cell = this.insertTextForEvent(evt, cell);
8911 mxGraph.prototype.dblClick.call(this, evt, cell); argument
8918 Graph.prototype.insertTextForEvent = function(evt, cell) argument
8923 if (evt != null && !this.model.isVertex(cell))
8925 var state = (this.model.isEdge(cell)) ? this.view.getState(cell) : null;
8933 (state != null && !this.isCellLocked(state.cell))) &&
8942 cell = this.addText(pt.x, pt.y, state);
8946 return cell;
9035 if (state != null && this.model.isEdge(state.cell))
9069 this.addCells([label], (state != null) ? state.cell : null);
9136 if (tmp == null || graph.getLinkForCell(tmp.cell) == null)
9138 … var cell = graph.getCellAt(me.getGraphX(), me.getGraphY(), null, null, null, function(state, x, y)
9140 return graph.getLinkForCell(state.cell) == null;
9143 … tmp = (tmp != null && !graph.model.isAncestor(cell, tmp.cell)) ? null : graph.view.getState(cell);
9276 this.currentLink = graph.getAbsoluteUrl(graph.getLinkForCell(state.cell));
9280 this.currentTarget = graph.getLinkTargetForCell(state.cell)
9517 Graph.prototype.isCellResizable = function(cell) argument
9520 var style = this.getCurrentCellStyle(cell);
9522 return !this.isTableCell(cell) && !this.isTableRow(cell) && (result ||
9589 var pstate = this.view.getState(this.model.getParent(vertices[i].cell));
9590 var geo = this.getCellGeometry(vertices[i].cell);
9606 this.getModel().setGeometry(vertices[i].cell, geo);
9643 return this.getLinkForCell(state.cell);
9896 return state.view.graph.getLinkTargetForCell(state.cell);
9903 var selected = (lookup != null) ? lookup.get(state.cell) :
9904 graph.isCellSelected(state.cell);
9905 var parent = graph.model.getParent(state.cell);
10213 Graph.prototype.insertTableColumn = function(cell, before) argument
10220 var table = cell;
10223 if (this.isTableCell(cell))
10225 var row = model.getParent(cell);
10227 index = mxUtils.indexOf(model.getChildCells(row, true), cell);
10231 if (this.isTableRow(cell))
10233 table = model.getParent(cell);
10237 cell = model.getChildCells(table, true)[0];
10242 index = model.getChildCells(cell, true).length - 1;
10289 Graph.prototype.deleteLane = function(cell) argument
10297 var lane = cell;
10334 Graph.prototype.insertLane = function(cell, before) argument
10342 var lane = cell;
10370 Graph.prototype.insertTableRow = function(cell, before) argument
10377 var table = cell;
10378 var row = cell;
10380 if (this.isTableCell(cell))
10382 row = model.getParent(cell);
10385 else if (this.isTableRow(cell))
10387 table = model.getParent(cell);
10406 var cell = model.cloneCell(cells[i], false);
10407 row.insert(cell);
10408 cell.value = null;
10410 var geo = this.getCellGeometry(cell);
10440 Graph.prototype.deleteTableColumn = function(cell) argument
10447 var table = cell;
10448 var row = cell;
10450 if (this.isTableCell(cell))
10452 row = model.getParent(cell);
10483 if (this.isTableCell(cell))
10485 index = mxUtils.indexOf(cells, cell);
10524 Graph.prototype.deleteTableRow = function(cell) argument
10531 var table = cell;
10532 var row = cell;
10534 if (this.isTableCell(cell))
10536 row = model.getParent(cell);
10537 cell = row;
10540 if (this.isTableRow(cell))
10641 var cell = bd.rows[i].insertCell(index);
10642 mxUtils.br(cell);
10792 var cell = this.getCellAt(me.graphX, me.graphY);
10794 … if (cell != null && this.isSwimlane(cell) && this.hitsSwimlaneContent(cell, me.graphX, me.graphY))
10796 cell = null;
10800 me.state = this.view.getState(cell);
10853 var popup = (!cellSelected || isMouseEvent) ? null : mxUtils.bind(this, function(cell) argument
10861 me.getY() + origin.y + 1, cell, me.getEvent());
11092 mxCellEditor.prototype.startEditing = function(cell, trigger) argument
11094 cell = this.graph.getStartEditingCell(cell, trigger);
11100 var state = this.graph.view.getState(cell);
11118 this.graph.setSelectionCell(cell);
11121 var parent = this.graph.getModel().getParent(cell);
11122 var geo = this.graph.getCellGeometry(cell);
11125 this.graph.getModel().isEdge(cell))
11457 var result = this.graph.getEditingValue(state.cell, trigger)
11531 if (value == '' && this.graph.isCellDeletable(state.cell) &&
11532 this.graph.model.getChildCount(state.cell) == 0 &&
11535 this.graph.removeCells([state.cell], false);
11553 (state.cell.geometry != null && state.cell.geometry.width > 0) &&
11666 mxStackLayout.prototype.resizeCell = function(cell, bounds) argument
11669 var style = this.graph.getCellStyle(cell);
11673 var parent = this.graph.model.getParent(cell);
11713 function addCell(cell) argument
11715 if (!dict.get(cell))
11717 dict.put(cell, true);
11718 result.push(cell);
11724 var cell = cells[i];
11726 if (this.graph.isTableCell(cell))
11728 addCell(model.getParent(model.getParent(cell)));
11730 else if (this.graph.isTableRow(cell))
11732 addCell(model.getParent(cell));
11735 addCell(cell);
11795 return (!(!this.graph.isSwimlane(state.cell) && this.graph.model.getChildCount(state.cell) > 0 &&
11796 !this.graph.isCellCollapsed(state.cell) &&
11810 !this.graph.isTableCell(this.state.cell) &&
11811 !this.graph.isTableRow(this.state.cell) &&
11812 !this.graph.isTable(this.state.cell);
11820 if (this.graph.isTableCell(this.state.cell))
11822 … this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell)));
11837 !this.graph.isTableCell(this.state.cell) &&
11838 !this.graph.isTableRow(this.state.cell);
11849 (!this.graph.isTable(this.state.cell) ||
11850 this.graph.isCellSelected(this.state.cell)));
11860 if (this.graph.isTableRow(this.state.cell))
11864 else if (this.graph.isTableCell(this.state.cell))
11890 if (this.graph.isTable(this.state.cell))
11904 var rows = graph.view.getCellStates(model.getChildCells(this.state.cell, true));
11908 var cols = model.getChildCells(rows[0].cell, true);
11950 var start = graph.getActualStartSize(tableState.cell);
11982 graph.setTableColumnWidth(this.state.cell,
11987 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
12051 graph.setTableRowHeight(this.state.cell, dy,
12056 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
12123 for (var i = 0; i < model.getChildCount(this.state.cell); i++)
12127 if (rowState != null && model.isVertex(rowState.cell))
12145 !this.graph.isCellSelected(rowState.cell))
12147 this.graph.selectCellForEvent(rowState.cell, evt);
12152 this.graph.graphHandler.start(this.state.cell,
12166 mxEvent.getClientY(evt), rowState.cell, evt);
12175 }))(this.graph.view.getState(model.getChildAt(this.state.cell, i)));
12194 if (this.graph.isTable(this.state.cell))
12217 var handlePadding = this.graph.isTable(this.state.cell) ||
12218 this.graph.cellEditor.getEditingCell() == this.state.cell;
12252 if (this.graph.isTable(this.state.cell))
12905 var parent = model.getParent(state.cell);
12906 var geo = this.graph.getCellGeometry(state.cell);
12926 var parent = model.getParent(this.state.cell);
12927 var geo = this.graph.getCellGeometry(this.state.cell);
12945 if (this.state.view.graph.model.isVertex(this.state.cell) &&
12949 this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION, angle, [this.state.cell]);
12953 this.state.view.graph.turnShapes([this.state.cell]);
13010 if (this.graph.isTable(this.state.cell))
13016 (this.graph.isTableCell(this.state.cell) ||
13017 this.graph.isTableRow(this.state.cell)))
13045 this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),
13061 var link = this.graph.getLinkForCell(this.state.cell);
13126 this.graph.setSelectionCell(this.state.cell);
13134 this.graph.setLinkForCell(this.state.cell, null);
13192 this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),
13201 var link = this.graph.getLinkForCell(this.state.cell);