Class Image


  • public class Image
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Image()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAltText()
      get the alternate text (altText) for the image.
      java.lang.Long getHeight()
      gets the height (in pixels) of the uploaded image
      java.lang.String getId()
      Gets the image id.
      java.lang.String getImageId()
      gets the image ID
      java.lang.Long getWidth()
      gets the width (in pixels) of the uploaded image
      Image setAltText​(java.lang.String altText)
      set the alternate text (altText) for the image.
      Image setHeight​(java.lang.Long height)
      sets the width (in pixels) of the uploaded image
      Image setId​(java.lang.String id)
      Sets the image id
      Image setImageId​(java.lang.String id)
      sets the image ID
      Image setWidth​(java.lang.Long width)
      sets the width (in pixels)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Image

        public Image()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the image id.
        Returns:
        the image id
      • setId

        public Image setId​(java.lang.String id)
        Sets the image id
      • getImageId

        public java.lang.String getImageId()
        gets the image ID
        Returns:
        the id
      • setImageId

        public Image setImageId​(java.lang.String id)
        sets the image ID
        Parameters:
        id - the id
      • getWidth

        public java.lang.Long getWidth()
        gets the width (in pixels) of the uploaded image
      • setWidth

        public Image setWidth​(java.lang.Long width)
        sets the width (in pixels)
      • getHeight

        public java.lang.Long getHeight()
        gets the height (in pixels) of the uploaded image
        Returns:
        the height
      • setHeight

        public Image setHeight​(java.lang.Long height)
        sets the width (in pixels) of the uploaded image
      • getAltText

        public java.lang.String getAltText()
        get the alternate text (altText) for the image.
        Returns:
        altText
      • setAltText

        public Image setAltText​(java.lang.String altText)
        set the alternate text (altText) for the image.