Lines Matching refs:mxConstants
511 var value = (mxUtils.getValue(style, mxConstants.STYLE_EDITABLE, 1)) == 1 ? 0 : 1;
512 graph.setCellStyles(mxConstants.STYLE_MOVABLE, value, cells);
513 graph.setCellStyles(mxConstants.STYLE_RESIZABLE, value, cells);
514 graph.setCellStyles(mxConstants.STYLE_ROTATABLE, value, cells);
515 graph.setCellStyles(mxConstants.STYLE_DELETABLE, value, cells);
516 graph.setCellStyles(mxConstants.STYLE_EDITABLE, value, cells);
930 if (state != null && state.style[mxConstants.STYLE_WHITE_SPACE] == 'wrap')
935 graph.setCellStyles(mxConstants.STYLE_WHITE_SPACE, value);
944 value = state.style[mxConstants.STYLE_ROTATION] || value;
951 graph.setCellStyles(mxConstants.STYLE_ROTATION, newValue);
1252 graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE, style, cells);
1255 if ((style & mxConstants.FONT_BOLD) == mxConstants.FONT_BOLD)
1267 else if ((style & mxConstants.FONT_ITALIC) == mxConstants.FONT_ITALIC)
1279 else if ((style & mxConstants.FONT_UNDERLINE) == mxConstants.FONT_UNDERLINE)
1308 …toggleFontStyle('bold', mxConstants.FONT_BOLD, function() { document.execCommand('bold', false, nu…
1309 …toggleFontStyle('italic', mxConstants.FONT_ITALIC, function() { document.execCommand('italic', fal…
1310 …toggleFontStyle('underline', mxConstants.FONT_UNDERLINE, function() { document.execCommand('underl…
1313 …this.addAction('fontColor...', function() { ui.menus.pickColor(mxConstants.STYLE_FONTCOLOR, 'forec…
1314 …this.addAction('strokeColor...', function() { ui.menus.pickColor(mxConstants.STYLE_STROKECOLOR); }…
1315 this.addAction('fillColor...', function() { ui.menus.pickColor(mxConstants.STYLE_FILLCOLOR); });
1316 …this.addAction('gradientColor...', function() { ui.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR…
1317 …this.addAction('backgroundColor...', function() { ui.menus.pickColor(mxConstants.STYLE_LABEL_BACKG…
1318 …this.addAction('borderColor...', function() { ui.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOL…
1321 …this.addAction('vertical', function() { ui.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL, true); …
1322 this.addAction('shadow', function() { ui.menus.toggleStyle(mxConstants.STYLE_SHADOW); });
1328 graph.setCellStyles(mxConstants.STYLE_DASHED, null);
1329 graph.setCellStyles(mxConstants.STYLE_DASH_PATTERN, null);
1330 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1343 graph.setCellStyles(mxConstants.STYLE_DASHED, '1');
1344 graph.setCellStyles(mxConstants.STYLE_DASH_PATTERN, null);
1345 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1358 graph.setCellStyles(mxConstants.STYLE_DASHED, '1');
1359 graph.setCellStyles(mxConstants.STYLE_DASH_PATTERN, '1 4');
1360 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_DASHED, mxConstants.STYL…
1373 graph.setCellStyles(mxConstants.STYLE_ROUNDED, '0');
1374 graph.setCellStyles(mxConstants.STYLE_CURVED, '0');
1375 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1388 graph.setCellStyles(mxConstants.STYLE_ROUNDED, '1');
1389 graph.setCellStyles(mxConstants.STYLE_CURVED, '0');
1390 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1407 var value = (mxUtils.getValue(style, mxConstants.STYLE_ROUNDED, '0') == '1') ? '0' : '1';
1409 graph.setCellStyles(mxConstants.STYLE_ROUNDED, value);
1410 graph.setCellStyles(mxConstants.STYLE_CURVED, null);
1411 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1425 graph.setCellStyles(mxConstants.STYLE_ROUNDED, '0');
1426 graph.setCellStyles(mxConstants.STYLE_CURVED, '1');
1427 …ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_ROUNDED, mxConstants.STY…
1552 graph.setCellStyles(mxConstants.STYLE_EXIT_X, null, [cell]);
1553 graph.setCellStyles(mxConstants.STYLE_EXIT_Y, null, [cell]);
1554 graph.setCellStyles(mxConstants.STYLE_ENTRY_X, null, [cell]);
1555 graph.setCellStyles(mxConstants.STYLE_ENTRY_Y, null, [cell]);
1599 value = state.style[mxConstants.STYLE_IMAGE] || value;
1636 … graph.setCellStyles(mxConstants.STYLE_IMAGE, (newValue.length > 0) ? newValue : null, cells);
1641 … if (style[mxConstants.STYLE_SHAPE] != 'image' && style[mxConstants.STYLE_SHAPE] != 'label')
1643 graph.setCellStyles(mxConstants.STYLE_SHAPE, 'image', cells);
1647 graph.setCellStyles(mxConstants.STYLE_SHAPE, null, cells);