Lines Matching refs:state

186 	var state = mxUtils.getValue(this.style, mxIOS7C.BUTTON_STATE, mxIOS7C.STATE_ON);
187 this.background(c, x, y, w, h, state);
189 this.foreground(c, x, y, w, h, state);
192 mxShapeIOS7OnOffButton.prototype.background = function(c, x, y, w, h, state) argument
194 if (state === mxIOS7C.STATE_ON)
199 else if (state === mxIOS7C.STATE_OFF)
209 mxShapeIOS7OnOffButton.prototype.foreground = function(c, x, y, w, h, state) argument
213 if (state === mxIOS7C.STATE_ON)
286 Graph.handleFactory[mxIOS7C.SHAPE_IOS7_SLIDER] = function(state) argument
288 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
290 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
295 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
366 Graph.handleFactory[mxIOS7C.SHAPE_IOS7_DOWNLOAD_BAR] = function(state)
368 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
370 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
375 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
1383 mxShapeIOS7MarginRect.prototype.background = function(c, x, y, w, h, state) argument
1444 mxShapeIOS7Callout.prototype.background = function(c, x, y, w, h, state) argument
1575 Graph.handleFactory[mxShapeIOS7SelectBar.prototype.cst.SELECT_BAR] = function(state)
1577 var handles = [Graph.createHandle(state, ['dx'], function(bounds)
1579 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1584 var y = parseFloat(mxUtils.getValue(this.state.style, 'dy', this.dy)) * 0.6;
1585 …this.state.style['dx'] = Math.round(100 * Math.max(y, Math.min(bounds.width - y, pt.x - bounds.x))…
1588 var handle2 = Graph.createHandle(state, ['dy'], function(bounds)
1590 …var dy = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'dy', t…
1592 …return new mxPoint(bounds.x + parseFloat(mxUtils.getValue(this.state.style, 'dx', this.dx)), bound…
1595 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(bounds.height, pt.y - bounds.y - bo…
1600 var handle3 = Graph.createHandle(state, ['size'], function(bounds)
1602 …var size = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'size'…
1607 …this.state.style['size'] = Math.round(100 * Math.max(0, Math.min(bounds.width / 2, bounds.height /…
1612 var handle4 = Graph.createHandle(state, ['dx2'], function(bounds)
1614 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
1619 …this.state.style['dx2'] = Math.round(100 * Math.max(0, Math.min(bounds.width, pt.x - bounds.x))) /…
1705 Graph.handleFactory[mxShapeIOS7Slider2.prototype.cst.SHAPE_SLIDER] = function(state)
1707 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
1709 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
1714 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / …