Class ImageInfo


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

      Constructors 
      Constructor Description
      ImageInfo​(int height, int width, int maxByteSize)
      Constructs ImageInfo with the given params.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight()
      Getter for height field.
      int getMaxByteSize()
      Getter for maxByteSize field.
      int getWidth()
      Getter for width field.
      void setHeight​(int height)
      Setter for height field.
      void setMaxByteSize​(int maxByteSize)
      Setter for maxByteSize field.
      void setWidth​(int width)
      Setter for width field.
      • Methods inherited from class java.lang.Object

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

      • ImageInfo

        public ImageInfo​(int height,
                         int width,
                         int maxByteSize)
        Constructs ImageInfo with the given params.
        Parameters:
        height - Image height in pixels.
        width - Image width in pixels.
        maxByteSize - Byte size of the non-hibernating image.
    • Method Detail

      • getHeight

        public int getHeight()
        Getter for height field. See constructor documentation for more information about the field.
        Returns:
        height
      • setHeight

        public void setHeight​(int height)
        Setter for height field. See constructor documentation for more information about the field.
        Parameters:
        height - Value to set.
      • getWidth

        public int getWidth()
        Getter for width field. See constructor documentation for more information about the field.
        Returns:
        width
      • setWidth

        public void setWidth​(int width)
        Setter for width field. See constructor documentation for more information about the field.
        Parameters:
        width - Value to set.
      • getMaxByteSize

        public int getMaxByteSize()
        Getter for maxByteSize field. See constructor documentation for more information about the field.
        Returns:
        maxByteSize
      • setMaxByteSize

        public void setMaxByteSize​(int maxByteSize)
        Setter for maxByteSize field. See constructor documentation for more information about the field.
        Parameters:
        maxByteSize - Value to set.