Lines Matching refs:state

2483 …		(geo.y + dy + graph.view.translate.y) * graph.view.scale, null, null, null, function(state, x, y)  argument
2485 return !graph.isContainer(state.cell);
2613 var state = graph.view.getState(source);
2614 var pts = state.absolutePoints;
2633 var state = graph.view.getState(source);
2635 geo.x = (state.x - view.translate.x) / view.scale;
2636 geo.y = (state.y - view.translate.y) / view.scale;
2774 Sidebar.prototype.isDropStyleTargetIgnored = function(state) argument
2776 return this.graph.isSwimlane(state.cell) || this.graph.isTableCell(state.cell) ||
2777 this.graph.isTableRow(state.cell) || this.graph.isTable(state.cell);
2985 if (dragSource.currentHighlight != null && dragSource.currentHighlight.state != null)
3028 else if (dragSource.currentHighlight.state != null &&
3029 graph.model.isEdge(dragSource.currentHighlight.state.cell))
3059 graph.getCellAt(x, y, null, null, null, function(state, x, y) argument
3061 return graph.isContainer(state.cell);
3083 var state = graph.view.getState(cell);
3088 if (prev != state)
3092 prev = state;
3099 if (state != null)
3105 prev = state;
3117 if (dropStyleEnabled && (timeOnTarget < 2500) && state != null && !mxEvent.isShiftDown(evt) &&
3119 …(((mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE) != mxUtils.getValue(sourceCellStyle, mxC…
3120 …(mxUtils.getValue(state.style, mxConstants.STYLE_STROKECOLOR, mxConstants.NONE) != mxConstants.NON…
3121 …mxUtils.getValue(state.style, mxConstants.STYLE_FILLCOLOR, mxConstants.NONE) != mxConstants.NONE ||
3122 …mxUtils.getValue(state.style, mxConstants.STYLE_GRADIENTCOLOR, mxConstants.NONE) != mxConstants.NO…
3124 … timeOnTarget > 1500 || graph.model.isEdge(state.cell)) && (timeOnTarget > this.dropTargetDelay) &&
3125 …!this.isDropStyleTargetIgnored(state) && ((graph.model.isVertex(state.cell) && firstVertex != null…
3126 (graph.model.isEdge(state.cell) && graph.model.isEdge(cells[0]))))
3128 if (graph.isCellEditable(state.cell))
3130 currentStyleTarget = state;
3131 var tmp = (graph.model.isEdge(state.cell)) ? graph.view.getPoint(state) :
3132 new mxPoint(state.getCenterX(), state.getCenterY());
3262 state = currentStyleTarget;
3271 (currentTargetState != state &&
3277 graph.model.isEdge(cell)) ? state : null;
3293 var pts = state.absolutePoints;
3321 var bds = mxRectangle.fromRectangle(state);
3324 if (state.shape != null && state.shape.boundingBox != null)
3326 bds = mxRectangle.fromRectangle(state.shape.boundingBox);
3332 var handler = this.graph.selectionCellsHandler.getHandler(state.cell);
3351 arrowUp.style.left = Math.floor(state.getCenterX() - this.triangleUp.width / 2) + 'px';
3355 arrowRight.style.top = Math.floor(state.getCenterY() - this.triangleRight.height / 2) + 'px';
3363 if (state.style['portConstraint'] != 'eastwest')
3374 if (state != null)
3376 currentStateHandle = graph.selectionCellsHandler.getHandler(state.cell);