/** * */ public byte getOnErrorType() { return ((JRImage)this.parent).getOnErrorType(); }
JRImageRenderer.getInstance( JRImageLoader.NO_IMAGE_RESOURCE, imageElement.getOnErrorType() );
/** * */ protected void setImage(JRImage image) { super.setGraphicElement(image); lineBox = image.getLineBox().clone(this); setScaleImage(image.getScaleImage()); setUsingCache(image.isUsingCache()); setHorizontalAlignment(image.getHorizontalAlignment()); setVerticalAlignment(image.getVerticalAlignment()); setLazy(image.isLazy()); setOnErrorType(image.getOnErrorType()); setLinkType(image.getLinkType()); setLinkTarget(image.getLinkTarget()); }
isUsingCache = image.isOwnUsingCache(); isLazy = image.isLazy(); onErrorType = image.getOnErrorType(); evaluationTime = image.getEvaluationTime(); linkType = image.getLinkType();
writer.addAttribute(JRXmlConstants.ATTRIBUTE_isUsingCache, image.isOwnUsingCache()); writer.addAttribute(JRXmlConstants.ATTRIBUTE_isLazy, image.isLazy(), false); writer.addAttribute(JRXmlConstants.ATTRIBUTE_onErrorType, image.getOnErrorType(), JRXmlConstants.getOnErrorTypeMap(), JRImage.ON_ERROR_TYPE_ERROR); writer.addAttribute(JRXmlConstants.ATTRIBUTE_evaluationTime, image.getEvaluationTime(), JRXmlConstants.getEvaluationTimeMap(), JRExpression.EVALUATION_TIME_NOW);