Class ImageReference


public class ImageReference extends Reference
Reference to a image document element.
Since:
6.0
Author:
Jon van Leuven
  • Constructor Details

    • ImageReference

      protected ImageReference(com.aquima.interactions.foundation.report.IInitializationReport report, ImageTemplate temlate)
  • Method Details

    • getImageTemplate

      public ImageTemplate 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.