Lines Matching refs:prop

4617 			function applyStyleVal(pName, newVal, prop, delIndex)  argument
4625 if (prop.index != null)
4628 var curVal = prop.parentRow.nextSibling;
4636 if (prop.index < allVals.length)
4644 allVals[prop.index] = newVal;
4652 if (prop.size != null && allVals.length > prop.size) //trim the array to the specifies size
4654 allVals = allVals.slice(0, prop.size);
4659 if (prop.countProperty != null)
4661 graph.setCellStyles(prop.countProperty, allVals.length, graph.getSelectionCells());
4663 changedProps.push(prop.countProperty);
4672 if (prop.dependentProps != null)
4674 for (var i = 0; i < prop.dependentProps.length; i++)
4676 var defVal = prop.dependentPropsDefVal[i];
4677 var vals = prop.dependentPropsVals[i];
4692 graph.setCellStyles(prop.dependentProps[i], vals, graph.getSelectionCells());
4693 changedProps.push(prop.dependentProps[i]);
4698 if (typeof(prop.onChange) == 'function')
4700 prop.onChange(graph, newVal);
4724 function createColorBtn(pName, pValue, prop) argument
4738 applyStyleVal(pName, color, prop);
4814 function createCheckbox(pName, pValue, prop) argument
4822 applyStyleVal(pName, input.checked? '1' : '0', prop);
4827 function createPropertyRow(pName, pValue, prop, isOdd, flipBkg) argument
4829 var pDiplayName = prop.dispName;
4830 var pType = prop.type;
4837 if (prop.index != null)
4839 row.setAttribute('data-index', prop.index);
4840 pDiplayName = (pDiplayName != null? pDiplayName : '') + '[' + prop.index + ']';
4861 td.appendChild(createColorBtn(pName, pValue, prop));
4865 td.appendChild(createCheckbox(pName, pValue, prop));
4869 var pEnumList = prop.enumList;
4903 applyStyleVal(pName, newVal, prop);
4918 …td.appendChild(createDynArrList(pName, pValue, prop.subType, prop.subDefVal, prop.countProperty, r…
4922 …td.appendChild(createStaticArrList(pName, pValue, prop.subType, prop.subDefVal, prop.size, row, fl…
4944 if ((pType == 'int' || pType == 'float') && !prop.allowAuto)
4949 if (prop.min != null)
4951 input.min = parseFloat(prop.min);
4954 if (prop.max != null)
4956 input.max = parseFloat(prop.max);
4967 if (prop.allowAuto)
4981 if (prop.min != null && inputVal < prop.min)
4983 inputVal = prop.min;
4985 else if (prop.max != null && inputVal > prop.max)
4987 inputVal = prop.max;
4992 applyStyleVal(pName, newVal, prop);
5014 if (prop.isDeletable)
5019 applyStyleVal(pName, '', prop, prop.index);
5125 var prop = properties[key];
5127 if (typeof(prop.isVisible) == 'function')
5129 if (!prop.isVisible(state, this)) continue;
5133 …((prop.getDefaultValue != null) ? prop.getDefaultValue(state, this) : prop.defVal); //or undefined…
5135 if (prop.type == 'separator')
5140 …else if (prop.type == 'staticArr') //if dynamic values are needed, a more elegant technique is nee…
5142prop.size = parseInt(state.style[prop.sizeProperty] || properties[prop.sizeProperty].defVal) || 0;
5144 else if (prop.dependentProps != null)
5146 var dependentProps = prop.dependentProps;
5157 prop.dependentPropsDefVal = dependentPropsDefVal;
5158 prop.dependentPropsVals = dependentPropsVals;
5161 grid.appendChild(createPropertyRow(key, pValue, prop, isOdd, flipBkg));
5168 var prop = secondLevel[i];
5169 var insertElem = prop.parentRow;
5171 for (var j = 0; j < prop.values.length; j++)
5174 …pe: prop.type, parentRow: prop.parentRow, isDeletable: prop.isDeletable, index: j, defVal: prop.de…
5175 var arrItem = createPropertyRow(prop.name, prop.values[j], iProp, j % 2 == 0, prop.flipBkg);