/** * Sets or toggles the flag bit for the given key in the cell's styles. If * value is null then the flag is toggled. * * <code> * mxUtils.setCellStyleFlags(graph.getModel(), * cells, * mxConstants.STYLE_FONTSTYLE, * mxConstants.FONT_BOLD, null); * </code> * * Toggles the bold font style. * * @param model * Model that contains the cells. * @param cells * Array of cells to change the style for. * @param key * Key of the style to be changed. * @param flag * Integer for the bit to be changed. * @param value * Optional boolean value for the flag. * @deprecated Use <code>mxStyleUtils.setCellStyleFlags(mxIGraphModel, Object[],String, int, Boolean)</code> (Jan 2012) */ public static void setCellStyleFlags(mxIGraphModel model, Object[] cells, String key, int flag, Boolean value) { mxStyleUtils.setCellStyleFlags(model, cells, key, flag, value); }
/** * Sets or toggles the flag bit for the given key in the cell's styles. If * value is null then the flag is toggled. * * <code> * mxUtils.setCellStyleFlags(graph.getModel(), * cells, * mxConstants.STYLE_FONTSTYLE, * mxConstants.FONT_BOLD, null); * </code> * * Toggles the bold font style. * * @param model * Model that contains the cells. * @param cells * Array of cells to change the style for. * @param key * Key of the style to be changed. * @param flag * Integer for the bit to be changed. * @param value * Optional boolean value for the flag. * @deprecated Use <code>mxStyleUtils.setCellStyleFlags(mxIGraphModel, Object[],String, int, Boolean)</code> (Jan 2012) */ public static void setCellStyleFlags(mxIGraphModel model, Object[] cells, String key, int flag, Boolean value) { mxStyleUtils.setCellStyleFlags(model, cells, key, flag, value); }
mxStyleUtils.setCellStyleFlags(model, cells, key, flag, value);
mxStyleUtils.setCellStyleFlags(model, cells, key, flag, value);