105a106,113 > // Fix for bug request IDs 548000 and 548032 > // Previously was > // getPresentationFigure().basicDisplayBox(r.getLocation(), new Point(r.width, r.height)); > // The corner transferred to the presentation figure is wrong as it transfers > // the dimension of the resulting rectangle from the layouter instead of the > // lower right corner > getPresentationFigure().basicDisplayBox(r.getLocation(), > new Point((int)r.getMaxX(), (int)r.getMaxY())); 106,106d105 < getPresentationFigure().basicDisplayBox(r.getLocation(), new Point(r.width, r.height)); 150a158,159 > * > * @deprecated use getAttribute(FigureAttributeConstant) instead 163a173,190 > * presentation figure is found then the superclass' getAttribute() > * will be invoked (which currently returns always "null"). > * > * @param attribute constant attribute constant whose value should be returned > * @return value of the attribute with the given name > */ > public Object getAttribute(FigureAttributeConstant attributeConstant) { > if (getPresentationFigure() != null) { > return getPresentationFigure().getAttribute(attributeConstant); > } > else { > return super.getAttribute(attributeConstant); > } > } > > /** > * Delegate capabilities for storing and retrieving attributes to a > * CompositeFigure if the encapsulated presentation figure. If no 168a196,197 > * > * @deprecated use setAttribute(FigureAttributeConstant, Object) instead 179a209,226 > * Delegate capabilities for storing and retrieving attributes to a > * CompositeFigure if the encapsulated presentation figure. If no > * presentation figure is found then the superclass' setAttribute() > * will be invoked (which currently does not set an attribute). > * > * @param attributeConstant attribute constant > * @param value value associated with this attribute > */ > public void setAttribute(FigureAttributeConstant attributeConstant, Object value) { > if (getPresentationFigure() != null) { > getPresentationFigure().setAttribute(attributeConstant, value); > } > else { > super.setAttribute(attributeConstant, value); > } > } > > /**