Lines Matching refs:state

2449 	var state = mxUtils.getValue(this.style, mxMockupC.BUTTON_STATE, mxMockupC.STATE_ON);
2450 this.background(c, x, y, w, h, state);
2452 this.foreground(c, x, y, w, h, state);
2453 this.mainText(c, x, y, w, h, state);
2456 mxShapeMockupiOnOffButton.prototype.background = function(c, x, y, w, h, state) argument
2458 if (state === mxMockupC.STATE_ON)
2464 else if (state === mxMockupC.STATE_OFF)
2472 mxShapeMockupiOnOffButton.prototype.foreground = function(c, x, y, w, h, state) argument
2474 if (state === mxMockupC.STATE_ON)
2488 mxShapeMockupiOnOffButton.prototype.mainText = function(c, x, y, w, h, state) argument
2496 if(state === mxMockupC.STATE_ON)
2500 else if (state === mxMockupC.STATE_OFF)
4976 Graph.handleFactory[mxMockupC.SHAPE_IVIDEO_CONTROLS] = function(state) argument
4978 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
4980 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
4985 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.width * 0.1…
5135 Graph.handleFactory[mxMockupC.SHAPE_ISLIDER] = function(state)
5137 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
5139 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
5144 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / …
5214 Graph.handleFactory[mxMockupC.SHAPE_IPROGRESS_BAR] = function(state)
5216 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
5218 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
5223 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / …
5287 Graph.handleFactory[mxMockupC.SHAPE_ICLOUD_PROGRESS_BAR] = function(state)
5289 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
5291 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
5296 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / …
5375 Graph.handleFactory[mxMockupC.SHAPE_IDOWNLOAD_BAR] = function(state)
5377 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
5379 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
5384 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.width * 0.1…