|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRImage
An abstract representation of a graphic element representing an image. Images can be aligned and scaled. They can also contain hyperlinks or be anchors for other hyperlinks.
Field Summary |
---|
Fields inherited from interface net.sf.jasperreports.engine.JRAnchor |
---|
NO_BOOKMARK |
Method Summary | |
---|---|
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. |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable |
---|
visit |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRAnchor |
---|
getAnchorNameExpression, getBookmarkLevel |
Methods inherited from interface net.sf.jasperreports.engine.JRHyperlink |
---|
getHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltipExpression, getHyperlinkType, getHyperlinkTypeValue, getLinkTarget, getLinkType |
Methods inherited from interface net.sf.jasperreports.engine.JRAlignment |
---|
getHorizontalAlignmentValue, getOwnHorizontalAlignmentValue, getOwnVerticalAlignmentValue, getVerticalAlignmentValue, setHorizontalAlignment, setVerticalAlignment |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonImage |
---|
getOwnScaleImageValue, getScaleImageValue, setScaleImage |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement |
---|
getFillValue, getLinePen, getOwnFillValue, setFill |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable |
---|
getUUID |
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer |
---|
getDefaultLineColor, getLineBox |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |