public interface JRImage extends JRGraphicElement, JRAnchor, JRHyperlink, JRAlignment, JRCommonImage
NO_BOOKMARK
Modifier and Type | Method and Description |
---|---|
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this text field.
|
EvaluationTimeEnum |
getEvaluationTimeValue()
Indicates the evaluation time for this image.
|
JRExpression |
getExpression() |
OnErrorTypeEnum |
getOnErrorTypeValue()
Indicates how the engine will treat a missing image.
|
java.lang.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.
|
java.lang.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(java.lang.Boolean isUsingCache)
Specifies if the engine should be loading the current image from cache.
|
collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
visit
clone
getParentProperties, getPropertiesMap, hasProperties
getAnchorNameExpression, getBookmarkLevel
getHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltipExpression, getHyperlinkType, getHyperlinkTypeValue, getLinkTarget, getLinkType
getHorizontalAlignmentValue, getOwnHorizontalAlignmentValue, getOwnVerticalAlignmentValue, getVerticalAlignmentValue, setHorizontalAlignment, setVerticalAlignment
getOwnScaleImageValue, getScaleImageValue, setScaleImage
getFillValue, getLinePen, getOwnFillValue, setFill
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
getDefaultLineColor, getLineBox
boolean isUsingCache()
getUsingCache()
.java.lang.Boolean isOwnUsingCache()
getUsingCache()
.java.lang.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(java.lang.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()
OnErrorTypeEnum
void setOnErrorType(OnErrorTypeEnum onErrorTypeEnum)
onErrorTypeEnum
- a value representing one of the missing image handling constants in OnErrorTypeEnum
EvaluationTimeEnum getEvaluationTimeValue()
EvaluationTimeEnum
JRGroup getEvaluationGroup()
EvaluationTimeEnum.GROUP
JRExpression getExpression()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com