Lines Matching refs:ss

477 	var ss = this.getSelectionState();
478 var containsLabel = ss.containsLabel;
628 label.style.width = (containsLabel || ss.cells.length == 0) ? '50%' : '33.3%';
673 if (ss.cells.length > 0)
1531 var ss = this.format.getSelectionState();
1532 var tmp = parseInt(mxUtils.getValue(ss.style, key, 100));
1664 var ss = this.format.getSelectionState();
1666 if (ss.cells.length > 0)
1673 if (!ss.containsLabel || ss.edges.length == 0)
1678 if (!ss.containsLabel && ss.edges.length == 0 &&
1679 ss.style.shape != 'rectangle' &&
1680 ss.style.shape != 'label')
1685 if (ss.vertices.length > 1)
1696 if (ss.containsLabel)
1719 var ss = this.format.getSelectionState();
1737 var isTable = graph.isTable(ss.vertices[0]) ||
1738 graph.isTableRow(ss.vertices[0]) ||
1739 graph.isTableCell(ss.vertices[0]);
1740 var isStack = graph.isStack(ss.vertices[0]) ||
1741 graph.isStackChild(ss.vertices[0]);
1748 var style = (graph.isStack(ss.vertices[0])) ? ss.style :
1749 graph.getCellStyle(graph.model.getParent(ss.vertices[0]));
1767 graph.insertLane(ss.vertices[0], true);
1771 graph.insertTableColumn(ss.vertices[0], true);
1786 graph.insertLane(ss.vertices[0], false);
1790 graph.insertTableColumn(ss.vertices[0], false);
1805 graph.deleteLane(ss.vertices[0]);
1809 graph.deleteTableColumn(ss.vertices[0]);
1828 graph.insertLane(ss.vertices[0], true);
1832 graph.insertTableRow(ss.vertices[0], true);
1847 graph.insertLane(ss.vertices[0], false);
1851 graph.insertTableRow(ss.vertices[0], false);
1866 graph.deleteLane(ss.vertices[0]);
1870 graph.deleteTableRow(ss.vertices[0]);
1957 var ss = this.format.getSelectionState();
1958 var cell = ss.cells[0];
1978 else if (ss.cells.length == 1 && !graph.getModel().isEdge(cell) && !graph.isSwimlane(cell) &&
1979 !graph.isTable(cell) && !ss.row && !ss.cell && graph.getModel().getChildCount(cell) > 0)
2015 if (ui.copiedSize != null && ss.vertices.length > 0)
2072 if (ui.copiedValue != null && ss.cells.length > 0)
2092 if (ss.cells.length == 1 && graph.getModel().isVertex(cell) && !ss.row &&
2093 !ss.cell && graph.getModel().isVertex(graph.getModel().getParent(cell)))
2111 else if (ss.cells.length > 0)
2131 if (ss.cells.length == 1)
2292 var ss = this.format.getSelectionState();
2306 if (ss.rotatable && !ss.table && !ss.row && !ss.cell)
2324 if (!ss.containsLabel)
2328 if (ss.vertices.length > 0 && ss.edges.length > 0)
2332 else if (ss.vertices.length > 0)
2358 ss = this.format.getSelectionState();
2359 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_ROTATION, 0));
3072 var ss = this.format.getSelectionState();
3161 'cells', ss.cells));
3171 'cells', ss.cells));
3181 'cells', ss.cells));
3387 graph.setCellStyles(mxConstants.STYLE_LABEL_POSITION, vals[0], ss.cells);
3388 graph.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION, vals[1], ss.cells);
3389 graph.setCellStyles(mxConstants.STYLE_ALIGN, vals[2], ss.cells);
3390 graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN, vals[3], ss.cells);
3407 graph.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION, dirSet[dirSelect.value], ss.cells);
3471 'values', [fontSize], 'cells', ss.cells));
3588 'values', [color], 'cells', ss.cells));
3596 graph.updateLabelElements(ss.cells, function(elt)
3608 …var defs = (ss.vertices.length >= 1) ? graph.stylesheet.getDefaultVertexStyle() : graph.stylesheet…
3635 'values', [color], 'cells', ss.cells));
3677 'values', [color], 'cells', ss.cells));
3700 graph.setCellStyles(mxConstants.STYLE_NOLABEL, '1', ss.cells);
3704 graph.setCellStyles(mxConstants.STYLE_NOLABEL, null, ss.cells);
3707 graph.setCellStyles(mxConstants.STYLE_FONTCOLOR, color, ss.cells);
3709 graph.updateLabelElements(ss.cells, function(elt)
4140 ss = this.format.getSelectionState();
4141 var fontStyle = mxUtils.getValue(ss.style, mxConstants.STYLE_FONTSTYLE, 0);
4145 …fontMenu.firstChild.nodeValue = mxUtils.getValue(ss.style, mxConstants.STYLE_FONTFAMILY, Menus.pro…
4147 setSelected(verticalItem, mxUtils.getValue(ss.style, mxConstants.STYLE_HORIZONTAL, '1') == '0');
4151 …var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_FONTSIZE, Menus.prototype.defaul…
4155 var align = mxUtils.getValue(ss.style, mxConstants.STYLE_ALIGN, mxConstants.ALIGN_CENTER);
4160 …var valign = mxUtils.getValue(ss.style, mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_MIDDLE…
4165 var pos = mxUtils.getValue(ss.style, mxConstants.STYLE_LABEL_POSITION, mxConstants.ALIGN_CENTER);
4166 …var vpos = mxUtils.getValue(ss.style, mxConstants.STYLE_VERTICAL_LABEL_POSITION, mxConstants.ALIGN…
4205 …var dir = mxUtils.getValue(ss.style, mxConstants.STYLE_TEXT_DIRECTION, mxConstants.DEFAULT_TEXT_DI…
4222 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_SPACING, 2));
4228 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_SPACING_TOP, 0));
4234 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_SPACING_RIGHT, 0));
4240 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_SPACING_BOTTOM, 0));
4246 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_SPACING_LEFT, 0));
4402 …var align = graph.cellEditor.align || mxUtils.getValue(ss.style, mxConstants.STYLE_ALIGN, mxConsta…
4564 var ss = this.format.getSelectionState();
4566 if (!ss.containsLabel && ss.cells.length > 0)
4568 if (ss.containsImage && ss.vertices.length == 1 && ss.style.shape == 'image' &&
4569 ss.style.image != null && ss.style.image.substring(0, 19) == 'data:image/svg+xml;')
4574 if (!ss.containsImage || ss.style.shape == 'image')
4619 var ss = this.format.getSelectionState();
4627 var exp = ss.style.editableCssRules;
4633 var data = ss.style.image.substring(ss.style.image.indexOf(',') + 1);
4736 var ss = this.format.getSelectionState();
4739 if (ss.cells.length == 1)
4753 if (ss.image && ss.cells.length > 0)
4787 var ss = this.format.getSelectionState();
4815 …var defs = (ss.vertices.length >= 1) ? graph.stylesheet.getDefaultVertexStyle() : graph.stylesheet…
4832 …var fillKey = (ss.style.shape == 'image') ? mxConstants.STYLE_IMAGE_BACKGROUND : mxConstants.STYLE…
4833 var label = (ss.style.shape == 'image') ? mxResources.get('background') : mxResources.get('fill');
4837 graph.setCellStyles(fillKey, color, ss.cells);
4841 var tmpColor = mxUtils.getValue(ss.style, fillKey, null);
4843 ss.fill && ss.style.shape != 'image') ? '' : 'none';
4871 ss = this.format.getSelectionState();
4872 …var value = mxUtils.getValue(ss.style, mxConstants.STYLE_GRADIENT_DIRECTION, mxConstants.DIRECTION…
4873 var fillStyle = mxUtils.getValue(ss.style, 'fillStyle', 'auto');
4883 container.style.display = (ss.fill) ? '' : 'none';
4885 var fillColor = mxUtils.getValue(ss.style, mxConstants.STYLE_FILLCOLOR, null);
4887 …if (!ss.fill || ss.containsImage || fillColor == null || fillColor == mxConstants.NONE || ss.style…
4894 fillStyleSelect.style.display = (ss.style.sketch == '1') ? '' : 'none';
4895 …gradientPanel.style.display = (ss.style.sketch != '1' || fillStyle == 'solid' || fillStyle == 'aut…
4905 graph.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION, gradientSelect.value, ss.cells);
4907 'values', [gradientSelect.value], 'cells', ss.cells));
4913 graph.setCellStyles('fillStyle', fillStyleSelect.value, ss.cells);
4915 'values', [fillStyleSelect.value], 'cells', ss.cells));
4938 var ss = this.format.getSelectionState();
4941 if (ss.style.shape == 'swimlane' || ss.style.shape == 'table')
4956 var ss = this.format.getSelectionState();
4965 if (!ss.stroke)
5012 graph.setCellStyles(keys[i], values[i], ss.cells);
5016 'values', values, 'cells', ss.cells));
5032 …var strokeKey = (ss.style.shape == 'image') ? mxConstants.STYLE_IMAGE_BORDER : mxConstants.STYLE_S…
5033 var label = (ss.style.shape == 'image') ? mxResources.get('border') : mxResources.get('line');
5037 graph.setCellStyles(strokeKey, color, ss.cells);
5127 if (value != mxUtils.getValue(ss.style, mxConstants.STYLE_STROKEWIDTH, 1))
5129 graph.setCellStyles(mxConstants.STYLE_STROKEWIDTH, value, ss.cells);
5131 'values', [value], 'cells', ss.cells));
5144 if (value != mxUtils.getValue(ss.style, mxConstants.STYLE_STROKEWIDTH, 1))
5146 graph.setCellStyles(mxConstants.STYLE_STROKEWIDTH, value, ss.cells);
5148 'values', [value], 'cells', ss.cells));
5176 if (ss.style.shape != 'arrow')
5185 if (ss.style.shape == 'connector')
5196 …if (ss.style.shape == 'connector' || ss.style.shape == 'flexArrow' || ss.style.shape == 'filledEdg…
5206 if (ss.style.shape == 'connector' || ss.style.shape == 'filledEdge')
5254 …if (ss.style.shape == 'connector' || ss.style.shape == 'flexArrow' || ss.style.shape == 'filledEdg…
5264 if (ss.style.shape == 'connector' || ss.style.shape == 'filledEdge')
5434 if (ss.edges.length == ss.cells.length)
5439 else if (ss.vertices.length == ss.cells.length)
5446 ss = this.format.getSelectionState();
5447 var color = mxUtils.getValue(ss.style, strokeKey, null);
5451 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_STROKEWIDTH, 1));
5457 var tmp = parseFloat(mxUtils.getValue(ss.style, mxConstants.STYLE_STROKEWIDTH, 1));
5461 …styleSelect.style.visibility = (ss.style.shape == 'connector' || ss.style.shape == 'filledEdge') ?…
5463 if (mxUtils.getValue(ss.style, mxConstants.STYLE_CURVED, null) == '1')
5467 else if (mxUtils.getValue(ss.style, mxConstants.STYLE_ROUNDED, null) == '1')
5472 if (mxUtils.getValue(ss.style, mxConstants.STYLE_DASHED, null) == '1')
5474 if (mxUtils.getValue(ss.style, mxConstants.STYLE_DASH_PATTERN, null) == null)
5495 var es = mxUtils.getValue(ss.style, mxConstants.STYLE_EDGE, null);
5497 if (mxUtils.getValue(ss.style, mxConstants.STYLE_NOEDGESTYLE, null) == '1')
5502 …if (es == 'orthogonalEdgeStyle' && mxUtils.getValue(ss.style, mxConstants.STYLE_CURVED, null) == '…
5516 edgeStyleDiv.className = 'geSprite ' + ((mxUtils.getValue(ss.style,
5522 edgeStyleDiv.className = 'geSprite ' + ((mxUtils.getValue(ss.style,
5537 if (ss.style.shape == 'link')
5541 else if (ss.style.shape == 'flexArrow')
5545 else if (ss.style.shape == 'arrow')
5555 if (ss.edges.length == ss.cells.length)
5566 if (Graph.lineJumpsEnabled && ss.edges.length > 0 &&
5567 ss.vertices.length == 0 && ss.lineJumps)
5578 markerDiv.className = ui.getCssClassForMarker(prefix, ss.style.shape, marker, fill);
5603 var sourceDiv = updateArrow(mxUtils.getValue(ss.style, mxConstants.STYLE_STARTARROW, null),
5604 mxUtils.getValue(ss.style, 'startFill', '1'), lineStart, 'start');
5605 var targetDiv = updateArrow(mxUtils.getValue(ss.style, mxConstants.STYLE_ENDARROW, null),
5606 mxUtils.getValue(ss.style, 'endFill', '1'), lineEnd, 'end');
5611 if (ss.style.shape == 'arrow')
5616 else if (ss.style.shape == 'link')
5623 mxUtils.setOpacity(edgeStyle, (ss.style.shape == 'arrow') ? 30 : 100);
5625 …if (ss.style.shape != 'connector' && ss.style.shape != 'flexArrow' && ss.style.shape != 'filledEdg…
5638 …var tmp = parseInt(mxUtils.getValue(ss.style, mxConstants.STYLE_STARTSIZE, mxConstants.DEFAULT_MAR…
5644 var tmp = parseInt(mxUtils.getValue(ss.style, mxConstants.STYLE_SOURCE_PERIMETER_SPACING, 0));
5650 …var tmp = parseInt(mxUtils.getValue(ss.style, mxConstants.STYLE_ENDSIZE, mxConstants.DEFAULT_MARKE…
5656 var tmp = parseInt(mxUtils.getValue(ss.style, mxConstants.STYLE_TARGET_PERIMETER_SPACING, 0));
5662 var tmp = parseInt(mxUtils.getValue(ss.style, mxConstants.STYLE_PERIMETER_SPACING, 0));
5692 var ss = this.format.getSelectionState();
5694 if (Graph.lineJumpsEnabled && ss.edges.length > 0 &&
5695 ss.vertices.length == 0 && ss.lineJumps)
5738 graph.setCellStyles('jumpStyle', styleSelect.value, ss.cells);
5740 'values', [styleSelect.value], 'cells', ss.cells));
5770 ss = this.format.getSelectionState();
5771 styleSelect.value = mxUtils.getValue(ss.style, 'jumpStyle', 'none');
5775 var tmp = parseInt(mxUtils.getValue(ss.style, 'jumpSize', Graph.defaultJumpSize));
5802 var ss = this.format.getSelectionState();
5842 ss = this.format.getSelectionState();
5848 if (ss.rounded)
5853 if (ss.style.shape == 'swimlane')
5858 if (!ss.containsImage)
5863 if (ss.glass)