Lines Matching refs:state
872 state = graph.getView().getState(cells[i]);
874 if (state != null)
876 var html = mxUtils.getValue(state.style, 'html', '0');
880 var label = graph.convertValueToString(state.cell);
882 if (mxUtils.getValue(state.style, 'nl2Br', '1') != '0')
894 graph.cellLabelChanged(state.cell, label);
900 var label = mxUtils.htmlEntities(graph.convertValueToString(state.cell), false);
902 if (mxUtils.getValue(state.style, 'nl2Br', '1') != '0')
909 graph.cellLabelChanged(state.cell, graph.sanitizeHtml(label));
925 var state = graph.getView().getState(graph.getSelectionCell());
930 if (state != null && state.style[mxConstants.STYLE_WHITE_SPACE] == 'wrap')
940 var state = graph.getView().getState(graph.getSelectionCell());
942 if (state != null)
944 value = state.style[mxConstants.STYLE_ROTATION] || value;
1437 var state = graph.view.getState(graph.getSelectionCell());
1440 if (state != null && graph.getFoldingImage(state) != null)
1513 handler.addPointAt(handler.state, x, y);
1525 rmWaypointAction.handler.removePoint(rmWaypointAction.handler.state, rmWaypointAction.index);
1594 var state = graph.getView().getState(graph.getSelectionCell());
1597 if (state != null)
1599 value = state.style[mxConstants.STYLE_IMAGE] || value;