/** * Changes the <code>attributes</code> of the cell. * * @deprecated Use getAttributes().applyMap */ public Map changeAttributes(Map change) { return getAttributes().applyMap(change); }
/** * Applies <code>change</code> to the attributes of the view and calls * update. * * @param change * a map of attribute changes to apply * @return the undo map that reverses this change */ public Map changeAttributes(GraphLayoutCache cache, Map change) { if (change != null) { Map undo = attributes.applyMap(change); update(cache); return undo; } return null; }
Map deltaOld = cv.getAttributes().applyMap(deltaNew); cv.refresh(this, this, false);
AttributeMap attr = getAttributes(cell); if (attr != null) { deltaOld = attr.applyMap(deltaNew);