4748495051525354555657
*/ public Object createObject(Attributes atts) { JRDesignGraphicElement graphicElement = (JRDesignGraphicElement)digester.peek(); StretchTypeEnum stretchType = StretchTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_stretchType)); if (stretchType != null) { graphicElement.setStretchType(stretchType); }
5960616263646566676869
if (positionType != null) { element.setPositionType(positionType); } StretchTypeEnum stretchType = StretchTypeEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_stretchType)); if (stretchType != null) { element.setStretchType(stretchType); }
269270271272273274275276277
/** * */ public void setStretchType(StretchTypeEnum stretchTypeValue) { StretchTypeEnum old = this.stretchTypeValue; this.stretchTypeValue = stretchTypeValue; getEventSupport().firePropertyChange(PROPERTY_STRETCH_TYPE, old, this.stretchTypeValue); }