Lines Matching refs:mxShapeMockupOnOffButton
646 function mxShapeMockupOnOffButton(bounds, fill, stroke, strokewidth) class
658 mxUtils.extend(mxShapeMockupOnOffButton, mxShape);
660 mxShapeMockupOnOffButton.prototype.cst = {
671 mxShapeMockupOnOffButton.prototype.customProperties = [
682 mxShapeMockupOnOffButton.prototype.paintVertexShape = function(c, x, y, w, h)
693 mxShapeMockupOnOffButton.prototype.background = function(c, x, y, w, h)
700 mxShapeMockupOnOffButton.prototype.foreground = function(c, x, y, w, h)
702 … state = mxUtils.getValue(this.style, mxShapeMockupOnOffButton.prototype.cst.BUTTON_STATE, mxShape…
703 …var fillColor2 = mxUtils.getValue(this.style, mxShapeMockupOnOffButton.prototype.cst.FILL_COLOR2, …
704 …var textColor = mxUtils.getValue(this.style, mxShapeMockupOnOffButton.prototype.cst.TEXT_COLOR, '#…
705 …var mainText = mxUtils.getValue(this.style, mxShapeMockupOnOffButton.prototype.cst.MAIN_TEXT, 'ON,…
706 …var textSize = mxUtils.getValue(this.style, mxShapeMockupOnOffButton.prototype.cst.TEXT_SIZE, '17'…
708 if (state === mxShapeMockupOnOffButton.prototype.cst.STATE_ON)
724 if(state === mxShapeMockupOnOffButton.prototype.cst.STATE_ON)
728 else if (state === mxShapeMockupOnOffButton.prototype.cst.STATE_OFF)
734 mxCellRenderer.registerShape(mxShapeMockupOnOffButton.prototype.cst.SHAPE_ON_OFF_BUTTON, mxShapeMoc…