Lines Matching refs:state

238 Graph.handleFactory[mxShapeMockupProgressBar.prototype.cst.SHAPE_PROGRESS_BAR] = function(state)  argument
240 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
242 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
247 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
605 Graph.handleFactory[mxShapeMockupVolumeSlider.prototype.cst.SHAPE_VOLUME_SLIDER] = function(state)
607 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
609 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
614 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
1238 this.state.style['spacingLeft'] = Math.round(1000 * Math.max(0, Math.min(w, dx))) / 1000 - 4;
1260 var unit = this.state.view.graph.getLabel(this.state.cell);
1305 var unit = this.state.view.graph.getLabel(this.state.cell);
1341 Graph.handleFactory[mxShapeMockupRuler2.prototype.cst.SHAPE_RULER] = function(state)
1343 …var handles = [Graph.createHandle(state, ['dx', 'spacingLeft', 'align', 'varticalAlign', 'spacingB…
1345 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1350 …this.state.style['dx'] = Math.round(1000 * Math.max(0, Math.min(bounds.width, pt.x - bounds.x))) /…
1351 …this.state.style['spacingLeft'] = Math.round(1000 * Math.max(0, Math.min(bounds.width, pt.x - boun…
1352 this.state.style['align'] = 'left';
1353 this.state.style['verticalAlign'] = 'middle';
1355 var facing = mxUtils.getValue(this.state.style, 'rulerOrient', '1');
1359 this.state.style['spacingBottom'] = 10;
1360 this.state.style['spacingTop'] = 0;
1364 this.state.style['spacingBottom'] = 0;
1365 this.state.style['spacingTop'] = 10;
1368 this.state.style['spacingRight'] = 0;
1369 this.state.style['spacing'] = 0;