public interface JRImage extends JRGraphicElement, JREvaluation, JRAnchor, JRHyperlink, JRAlignment, JRCommonImage
NO_BOOKMARK| Modifier and Type | Method and Description |
|---|---|
JRExpression |
getExpression() |
OnErrorTypeEnum |
getOnErrorTypeValue()
Indicates how the engine will treat a missing image.
|
Boolean |
getUsingCache()
Indicates if the engine is loading the current image from cache.
|
boolean |
isLazy()
Indicates if the images will be loaded lazily or not.
|
Boolean |
isOwnUsingCache()
Deprecated.
Replaced by
getUsingCache(). |
boolean |
isUsingCache()
Deprecated.
Replaced by
getUsingCache(). |
void |
setLazy(boolean isLazy)
Gives control over when the images are retrieved from their specified location.
|
void |
setOnErrorType(OnErrorTypeEnum onErrorTypeEnum)
Specifies how the engine should treat a missing image.
|
void |
setUsingCache(boolean isUsingCache)
Specifies if the engine should be loading the current image from cache.
|
void |
setUsingCache(Boolean isUsingCache)
Specifies if the engine should be loading the current image from cache.
|
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXvisitclonegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetEvaluationGroup, getEvaluationTimeValuegetAnchorNameExpression, getBookmarkLevelgetHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltipExpression, getHyperlinkType, getHyperlinkTypeValue, getLinkTarget, getLinkTypegetHorizontalAlignmentValue, getOwnHorizontalAlignmentValue, getOwnVerticalAlignmentValue, getVerticalAlignmentValue, setHorizontalAlignment, setVerticalAlignmentgetOwnScaleImageValue, getScaleImageValue, setScaleImagegetFillValue, getLinePen, getOwnFillValue, setFillgetBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferencegetDefaultLineColor, getLineBoxboolean isUsingCache()
getUsingCache().Boolean isOwnUsingCache()
getUsingCache().Boolean getUsingCache()
void setUsingCache(boolean isUsingCache)
For image elements that have expressions returning java.lang.String objects as the image source, representing file names, URLs or classpath resources, the default value for this flag is true.
void setUsingCache(Boolean isUsingCache)
If set to null, the engine will rely on some default value which depends on the type of the image expression. The cache is turned on by default only for images that have java.lang.String objects in their expressions.
boolean isLazy()
void setLazy(boolean isLazy)
isLazy - specifies whetherOnErrorTypeEnum getOnErrorTypeValue()
OnErrorTypeEnumvoid setOnErrorType(OnErrorTypeEnum onErrorTypeEnum)
onErrorTypeEnum - a value representing one of the missing image handling constants in OnErrorTypeEnumJRExpression getExpression()
Copyright © 2012. All Rights Reserved.