Lines Matching refs:result

174 	var result = this.initSelectionState();
183 this.updateSelectionStateForCell(result, cells[i], cells, initial);
188 return result;
205 Format.prototype.updateSelectionStateForCell = function(result, cell, cells, initial) argument
208 result.cells.push(cell);
212 result.resizable = result.resizable && graph.isCellResizable(cell);
213 result.rotatable = result.rotatable && graph.isCellRotatable(cell);
214 result.movable = result.movable && graph.isCellMovable(cell) &&
216 result.table = result.table || graph.isTable(cell);
217 result.cell = result.cell || graph.isTableCell(cell);
218 result.row = result.row || graph.isTableRow(cell);
219 result.vertices.push(cell);
226 if (result.width == null)
228 result.width = geo.width;
230 else if (result.width != geo.width)
232 result.width = '';
237 result.containsLabel = true;
242 if (result.height == null)
244 result.height = geo.height;
246 else if (result.height != geo.height)
248 result.height = '';
253 result.containsLabel = true;
261 if (result.x == null)
263 result.x = x;
265 else if (result.x != x)
267 result.x = '';
270 if (result.y == null)
272 result.y = y;
274 else if (result.y != y)
276 result.y = '';
283 result.edges.push(cell);
284 result.resizable = false;
285 result.rotatable = false;
286 result.movable = false;
293 result.autoSize = result.autoSize || this.isAutoSizeState(state);
294 result.glass = result.glass && this.isGlassState(state);
295 result.rounded = result.rounded && this.isRoundedState(state);
296 result.lineJumps = result.lineJumps && this.isLineJumpState(state);
297 result.image = result.image && this.isImageState(state);
298 result.shadow = result.shadow && this.isShadowState(state);
299 result.fill = result.fill && this.isFillState(state);
300 result.stroke = result.stroke && this.isStrokeState(state);
303 result.containsImage = result.containsImage || shape == 'image';
304 graph.mergeStyle(state.style, result.style, initial);
2047 var result = graph.getDataForCells(graph.getSelectionCells());
2049 var dlg = new EmbedDialog(ui, JSON.stringify(result, null, 2), null, null, function()
2051 console.log(result);
4939 var result = [];
4943result.push({title: mxResources.get('laneColor'), key: 'swimlaneFillColor', defaultValue: 'default…
4946 return result;
6112 var applyStyle = mxUtils.bind(this, function(style, result, cell, graphStyle, theGraph) argument
6119 if (result['labelBackgroundColor'] != null)
6134 result['labelBackgroundColor'] = bg;
6140 if (cell == null || ((result[key] != null &&
6141 result[key] != mxConstants.NONE) ||
6145 result[key] = style[key];
6203 var result = mxUtils.clone(Graph.prototype.getCellStyle.apply(this, arguments));
6213 removeStyles(result, defaultStyles, defaultStyle);
6214 applyStyle(commonStyle, result, cell, graphStyle, graph2);
6215 applyStyle(appliedStyle, result, cell, graphStyle, graph2);
6217 if (result != null)
6219 result = this.postProcessCellStyle(result);
6222 return result;
6351 var result = mxUtils.clone(prev.apply(this, arguments));
6362 removeStyles(result, defaultStyles, defaultStyle);
6363 applyStyle(commonStyle, result, cell, graphStyle);
6364 applyStyle(appliedStyle, result, cell, graphStyle);
6366 if (result != null)
6368 result = this.postProcessCellStyle(result);
6371 return result;