Class ImageReference
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.ElementReference
com.aquima.interactions.test.templates.composer.Reference
com.aquima.interactions.test.templates.composer.ImageReference
Reference to a image document element.
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ImageReference
(com.aquima.interactions.foundation.report.IInitializationReport report, ImageTemplate temlate) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.aquima.interactions.foundation.types.IntegerValue
This method return the image template this reference refers to.protected com.aquima.interactions.foundation.types.IntegerValue
getWidth()
void
setHeight
(long height) Set the height of the image.void
setWidth
(long width) Set the width of the image.com.aquima.interactions.composer.ds.IReferenceDS
This method converts the image reference template to a data source that can be used to initialize an image reference.Methods inherited from class com.aquima.interactions.test.templates.composer.Reference
getRepeatExpression, getSortAttribute, getTargetType, isLinkedViaRelationAttribute, isSortAscending, setIsLinkedViaRelationAttribute, setRepeatExpression, setSortAscending, setSortAttribute, toDataSource
Methods inherited from class com.aquima.interactions.test.templates.composer.ElementReference
addPresentationStyle, addPresentationStyle, getCondition, getContentStyle, getName, getPresentationStyleCondition, getPresentationStyles, getReadonlyCondition, setCondition, setPresentationStyle, setPresentationStyle, setReadonly, setReadonlyCondition
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
ImageReference
protected ImageReference(com.aquima.interactions.foundation.report.IInitializationReport report, ImageTemplate temlate)
-
-
Method Details
-
getImageTemplate
This method return the image template this reference refers to.- Returns:
- The image template (never null)
-
setHeight
public void setHeight(long height) Set the height of the image.- Parameters:
height
- Height of the image
-
setWidth
public void setWidth(long width) Set the width of the image.- Parameters:
width
- Width of the image
-
getHeight
protected com.aquima.interactions.foundation.types.IntegerValue getHeight() -
getWidth
protected com.aquima.interactions.foundation.types.IntegerValue getWidth() -
toImageReferenceDS
public com.aquima.interactions.composer.ds.IReferenceDS toImageReferenceDS()This method converts the image reference template to a data source that can be used to initialize an image reference.- Returns:
- a data source that can be used to initialize an image reference.
-