Lines Matching refs:prototype

26 mxShapePidValve.prototype.cst = {
67 mxShapePidValve.prototype.customProperties = [
115 mxShapePidValve.prototype.paintVertexShape = function(c, x, y, w, h)
117 var valveType = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.VALVE_TYPE, 'gate');
118 …ator = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.ACTUATOR, mxShapePidValve.protot…
141 mxShapePidValve.prototype.background = function(c, x, y, w, h, valveType, actuator, actH)
144 if (actuator !== mxShapePidValve.prototype.cst.NONE)
165 else if (valveType === mxShapePidValve.prototype.cst.BUTTERFLY)
169 else if (valveType === mxShapePidValve.prototype.cst.CHECK)
175 mxShapePidValve.prototype.foreground = function(c, x, y, w, h, valveType, actuator, actH)
177 var valveType = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.VALVE_TYPE, 'gate');
180 if (actuator !== mxShapePidValve.prototype.cst.NONE)
202 mxShapePidValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator)
210 else if (actuator === mxShapePidValve.prototype.cst.MANUAL)
216 else if (actuator === mxShapePidValve.prototype.cst.DIAPHRAGM)
222 else if (actuator === mxShapePidValve.prototype.cst.BALANCED_DIAPHRAGM)
228 …else if (actuator === mxShapePidValve.prototype.cst.MOTOR || actuator === mxShapePidValve.prototyp…
234 else if (actuator === mxShapePidValve.prototype.cst.SPRING)
240 else if (actuator === mxShapePidValve.prototype.cst.SOLENOID_MANUAL_RESET)
246 else if (actuator === mxShapePidValve.prototype.cst.SINGLE_ACTING)
252 else if (actuator === mxShapePidValve.prototype.cst.DOUBLE_ACTING)
258 else if (actuator === mxShapePidValve.prototype.cst.PILOT_CYLINDER)
264 else if (actuator === mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN)
272 mxShapePidValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator)
274 if (actuator === mxShapePidValve.prototype.cst.BALANCED_DIAPHRAGM)
280 else if (actuator === mxShapePidValve.prototype.cst.SINGLE_ACTING ||
281 actuator === mxShapePidValve.prototype.cst.DOUBLE_ACTING ||
282 actuator === mxShapePidValve.prototype.cst.PILOT_CYLINDER)
290 mxShapePidValve.prototype.drawManAct = function(c, w, h)
300 mxShapePidValve.prototype.drawDiaphAct = function(c, w, h)
314 mxShapePidValve.prototype.drawBalDiaphActBg = function(c, w, h)
325 mxShapePidValve.prototype.drawBalDiaphActFg = function(c, w, h)
333 mxShapePidValve.prototype.drawCircleAct = function(c, w, h, actuator)
345 if (actuator === mxShapePidValve.prototype.cst.MOTOR)
349 else if (actuator === mxShapePidValve.prototype.cst.ELECTRO_HYDRAULIC)
360 mxShapePidValve.prototype.drawSpringAct = function(c, w, h)
376 mxShapePidValve.prototype.drawSolenoidManResetAct = function(c, w, h)
406 mxShapePidValve.prototype.drawSingActingActBg = function(c, w, h)
423 mxShapePidValve.prototype.drawActingActFg = function(c, w, h)
433 mxShapePidValve.prototype.drawDblActingActBg = function(c, w, h)
456 mxShapePidValve.prototype.drawPilotCylinderActBg = function(c, w, h)
477 mxShapePidValve.prototype.drawAngleBlowdownAct = function(c, w, h)
487 mxShapePidValve.prototype.drawSquareAct = function(c, w, h, actuator)
499 if (actuator === mxShapePidValve.prototype.cst.PILOT)
503 else if (actuator === mxShapePidValve.prototype.cst.SOLENOID)
507 else if (actuator === mxShapePidValve.prototype.cst.DIGITAL)
511 else if (actuator === mxShapePidValve.prototype.cst.WEIGHT)
515 else if (actuator === mxShapePidValve.prototype.cst.KEY)
526 mxShapePidValve.prototype.drawGateVariantFg = function(c, x, y, w, h, valveType, actuator, actH)
528 var defState = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.DEFAULT_STATE, 'open');
532 if (valveType === mxShapePidValve.prototype.cst.BALL)
537 else if (valveType === mxShapePidValve.prototype.cst.GLOBE)
544 else if (valveType === mxShapePidValve.prototype.cst.PLUG)
548 else if (valveType === mxShapePidValve.prototype.cst.NEEDLE)
552 else if (valveType === mxShapePidValve.prototype.cst.SELF_DRAINING)
558 mxShapePidValve.prototype.drawAngleVariantFg = function(c, x, y, w, h, valveType, actuator, actH)
560 var defState = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.DEFAULT_STATE, 'open');
564 if (valveType === mxShapePidValve.prototype.cst.ANGLE_GLOBE)
580 mxShapePidValve.prototype.drawGateVariantBg = function(c, x, y, w, h, valveType, actuator, actH)
582 if (valveType === mxShapePidValve.prototype.cst.GATE)
586 …else if (valveType === mxShapePidValve.prototype.cst.BALL || valveType === mxShapePidValve.prototy…
592 else if (valveType === mxShapePidValve.prototype.cst.PLUG)
597 else if (valveType === mxShapePidValve.prototype.cst.NEEDLE)
602 else if (valveType === mxShapePidValve.prototype.cst.SELF_DRAINING)
609 mxShapePidValve.prototype.drawAngleVariantBg = function(c, x, y, w, h, valveType, actuator, actH)
611 if (valveType === mxShapePidValve.prototype.cst.ANGLE)
615 else if (valveType === mxShapePidValve.prototype.cst.ANGLE_GLOBE)
619 else if (valveType === mxShapePidValve.prototype.cst.THREE_WAY)
623 else if (valveType === mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN)
629 mxShapePidValve.prototype.drawPlug = function(c, x, y, w, h)
642 mxShapePidValve.prototype.drawNeedle = function(c, x, y, w, h)
659 mxShapePidValve.prototype.drawDrain = function(c, x, y, w, h)
681 mxShapePidValve.prototype.drawGateValve = function(c, x, y, w, h)
683 var defState = mxUtils.getValue(this.style, mxShapePidValve.prototype.cst.DEFAULT_STATE, 'open');
698 if (defState === mxShapePidValve.prototype.cst.CLOSED)
712 mxShapePidValve.prototype.drawAngleValve = function(c, x, y, w, h)
730 mxShapePidValve.prototype.drawAngleGlobeValveBg = function(c, x, y, w, h)
749 mxShapePidValve.prototype.drawAngleGlobeValveFg = function(c, x, y, w, h)
757 mxShapePidValve.prototype.drawThreeWayValve = function(c, x, y, w, h)
781 mxShapePidValve.prototype.drawAngleBlowdownValve = function(c, x, y, w, h)
787 mxShapePidValve.prototype.drawButterflyValve = function(c, x, y, w, h, actuator, actH)
813 mxShapePidValve.prototype.drawCheckValve = function(c, x, y, w, h, actuator, actH)
843 mxShapePidValve.prototype.isGateVariant = function(valveType)
845 if (valveType === mxShapePidValve.prototype.cst.GATE ||
846 valveType === mxShapePidValve.prototype.cst.BALL ||
847 valveType === mxShapePidValve.prototype.cst.PLUG ||
848 valveType === mxShapePidValve.prototype.cst.NEEDLE ||
849 valveType === mxShapePidValve.prototype.cst.SELF_DRAINING ||
850 valveType === mxShapePidValve.prototype.cst.GLOBE)
860 mxShapePidValve.prototype.isAngleVariant = function(valveType)
862 if (valveType === mxShapePidValve.prototype.cst.ANGLE ||
863 valveType === mxShapePidValve.prototype.cst.ANGLE_GLOBE ||
864 valveType === mxShapePidValve.prototype.cst.THREE_WAY ||
865 valveType === mxShapePidValve.prototype.cst.ANGLE_BLOWDOWN)
875 mxShapePidValve.prototype.isSquareVariant = function(actType)
877 if (actType === mxShapePidValve.prototype.cst.PILOT ||
878 actType === mxShapePidValve.prototype.cst.SOLENOID ||
879 actType === mxShapePidValve.prototype.cst.POWERED ||
880 actType === mxShapePidValve.prototype.cst.DIGITAL ||
881 actType === mxShapePidValve.prototype.cst.WEIGHT ||
882 actType === mxShapePidValve.prototype.cst.KEY)
892 mxCellRenderer.registerShape(mxShapePidValve.prototype.cst.SHAPE_VALVE, mxShapePidValve);
919 mxShapePidIntBlockBleedValve.prototype.paintVertexShape = function(c, x, y, w, h)
921 …lue(this.style, mxShapePidIntBlockBleedValve.prototype.cst.ACTUATOR, mxShapePidIntBlockBleedValve.
937 mxShapePidIntBlockBleedValve.prototype.background = function(c, x, y, w, h, actuator, actH)
940 if (actuator !== mxShapePidIntBlockBleedValve.prototype.cst.NONE)
949 mxShapePidIntBlockBleedValve.prototype.foreground = function(c, x, y, w, h, actuator, actH)
952 if (actuator !== mxShapePidIntBlockBleedValve.prototype.cst.NONE)
958 mxShapePidIntBlockBleedValve.prototype.drawValveBg = function(c, x, y, w, h)
998 mxShapePidIntBlockBleedValve.prototype.drawActuatorBg = function(c, x, y, w, h, actuator)
1006 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.MANUAL)
1012 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.DIAPHRAGM)
1018 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.BALANCED_DIAPHRAGM)
1024 …uator === mxShapePidIntBlockBleedValve.prototype.cst.MOTOR || actuator === mxShapePidIntBlockBleed…
1030 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.SPRING)
1036 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.SOLENOID_MANUAL_RESET)
1042 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.SINGLE_ACTING)
1048 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.DOUBLE_ACTING)
1054 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.PILOT_CYLINDER)
1062 mxShapePidIntBlockBleedValve.prototype.drawActuatorFg = function(c, x, y, w, h, actuator)
1064 if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.BALANCED_DIAPHRAGM)
1070 else if (actuator === mxShapePidIntBlockBleedValve.prototype.cst.SINGLE_ACTING ||
1071 actuator === mxShapePidIntBlockBleedValve.prototype.cst.DOUBLE_ACTING ||
1072 actuator === mxShapePidIntBlockBleedValve.prototype.cst.PILOT_CYLINDER)
1108 mxShapePidAutoRecircValve.prototype.paintVertexShape = function(c, x, y, w, h)