Lines Matching refs:style
510 var style = graph.getCurrentCellStyle(graph.getSelectionCell());
511 var value = (mxUtils.getValue(style, mxConstants.STYLE_EDITABLE, 1)) == 1 ? 0 : 1;
862 var style = graph.getCommonStyle(graph.getSelectionCells());
863 var value = (mxUtils.getValue(style, 'html', '0') == '1') ? null : '1';
876 var html = mxUtils.getValue(state.style, 'html', '0');
882 if (mxUtils.getValue(state.style, 'nl2Br', '1') != '0')
902 if (mxUtils.getValue(state.style, 'nl2Br', '1') != '0')
930 if (state != null && state.style[mxConstants.STYLE_WHITE_SPACE] == 'wrap')
944 value = state.style[mxConstants.STYLE_ROTATION] || value;
1236 var toggleFontStyle = mxUtils.bind(this, function(key, style, fn, shortcut) argument
1252 graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE, style, cells);
1255 if ((style & mxConstants.FONT_BOLD) == mxConstants.FONT_BOLD)
1259 elt.style.fontWeight = null;
1267 else if ((style & mxConstants.FONT_ITALIC) == mxConstants.FONT_ITALIC)
1271 elt.style.fontStyle = null;
1279 else if ((style & mxConstants.FONT_UNDERLINE) == mxConstants.FONT_UNDERLINE)
1283 elt.style.textDecoration = null;
1406 var style = graph.getCurrentCellStyle(cells[0]);
1407 var value = (mxUtils.getValue(style, mxConstants.STYLE_ROUNDED, '0') == '1') ? '0' : '1';
1599 value = state.style[mxConstants.STYLE_IMAGE] || value;
1639 var style = graph.getCurrentCellStyle(cells[0]);
1641 … if (style[mxConstants.STYLE_SHAPE] != 'image' && style[mxConstants.STYLE_SHAPE] != 'label')