Lines Matching refs:mxConstants
1117 var direction = mxConstants.DIRECTION_EAST;
1126 if (guess == 'up' || guess == mxConstants.DIRECTION_NORTH)
1128 direction = mxConstants.DIRECTION_NORTH;
1130 else if (guess == 'left' || guess == mxConstants.DIRECTION_WEST)
1132 direction = mxConstants.DIRECTION_WEST;
1134 else if (guess == 'down' || guess == mxConstants.DIRECTION_SOUTH)
1136 direction = mxConstants.DIRECTION_SOUTH;
1186 if (guess == 'up' || guess == mxConstants.DIRECTION_NORTH)
1188 direction = mxConstants.DIRECTION_NORTH;
1190 else if (guess == 'left' || guess == mxConstants.DIRECTION_WEST)
1192 direction = mxConstants.DIRECTION_WEST;
1194 else if (guess == 'down' || guess == mxConstants.DIRECTION_SOUTH)
1196 direction = mxConstants.DIRECTION_SOUTH;
1198 else if (guess == 'right' || guess == mxConstants.DIRECTION_EAST)
1200 direction = mxConstants.DIRECTION_EAST;
1205 if (direction == mxConstants.DIRECTION_NORTH)
1209 else if (direction == mxConstants.DIRECTION_WEST)
1213 else if (direction == mxConstants.DIRECTION_SOUTH)
1217 else if (direction == mxConstants.DIRECTION_EAST)
1524 var keys = [mxConstants.STYLE_FILLCOLOR, mxConstants.STYLE_GRADIENTCOLOR,
1525 mxConstants.STYLE_STROKECOLOR, mxConstants.STYLE_FONTCOLOR,
1526 mxConstants.STYLE_LABEL_BACKGROUNDCOLOR, mxConstants.STYLE_LABEL_BORDERCOLOR,
1527 … mxConstants.STYLE_STROKEWIDTH, mxConstants.STYLE_FONTSIZE, mxConstants.STYLE_SPACING,
1528 … mxConstants.STYLE_SPACING_TOP, mxConstants.STYLE_SPACING_LEFT, mxConstants.STYLE_SPACING_RIGHT,
1529 mxConstants.STYLE_SPACING_BOTTOM, mxConstants.STYLE_PERIMETER_SPACING,
1530 … mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE, mxConstants.STYLE_OPACITY,
1531 mxConstants.STYLE_TEXT_OPACITY, mxConstants.STYLE_ROTATION,
1532 … mxConstants.STYLE_ALIGN, mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.STYLE_FONTFAMILY,
1533 mxConstants.STYLE_LABEL_POSITION, mxConstants.STYLE_VERTICAL_LABEL_POSITION,
1534 mxConstants.STYLE_GRADIENT_DIRECTION];
1598 … var keys = [mxConstants.STYLE_STROKEWIDTH, mxConstants.STYLE_FONTSIZE, mxConstants.STYLE_SPACING,
1599 … mxConstants.STYLE_SPACING_TOP, mxConstants.STYLE_SPACING_LEFT, mxConstants.STYLE_SPACING_RIGHT,
1600 mxConstants.STYLE_SPACING_BOTTOM, mxConstants.STYLE_PERIMETER_SPACING,
1601 … mxConstants.STYLE_STARTSIZE, mxConstants.STYLE_ENDSIZE, mxConstants.STYLE_OPACITY,
1602 mxConstants.STYLE_TEXT_OPACITY, mxConstants.STYLE_ROTATION]
1608 style = mxConstants.STYLE_FONTSIZE;
1668 keys = [mxConstants.STYLE_GRADIENTCOLOR,
1669 mxConstants.STYLE_STROKECOLOR, mxConstants.STYLE_FONTCOLOR,
1670 mxConstants.STYLE_LABEL_BACKGROUNDCOLOR, mxConstants.STYLE_LABEL_BORDERCOLOR,
1671 mxConstants.STYLE_FILLCOLOR];
1679 style = mxConstants.STYLE_STROKECOLOR;
1683 style = mxConstants.STYLE_FILLCOLOR;
1714 var keys = [mxConstants.STYLE_ALIGN, mxConstants.STYLE_VERTICAL_ALIGN,
1715 mxConstants.STYLE_FONTFAMILY, mxConstants.STYLE_LABEL_POSITION,
1716 mxConstants.STYLE_VERTICAL_LABEL_POSITION,
1717 mxConstants.STYLE_GRADIENT_DIRECTION];
1817 graph.setCellStyles(mxConstants.STYLE_SHAPE, shapenameToken, vertices);
1818 ui.fireEvent(new mxEventObject('styleChanged', 'keys', [mxConstants.STYLE_SHAPE],
2058 var tmp = style[mxConstants.STYLE_SHAPE];
2106 if (tmp == mxConstants.NONE || tmp == null)