Class Image

    • Constructor Detail

      • Image

        public Image()
        Initializes html element.
      • Image

        public Image​(String src)
        Initializes html element.
        Parameters:
        src - Html "src" attribute.
      • Image

        public Image​(String src,
                     String alt)
        Initializes html element.
        Parameters:
        src - Html "src" attribute.
        alt - Html "alt" attribute.
      • Image

        public Image​(String src,
                     long width,
                     long height)
        Initializes html element.
        Parameters:
        src - Html "src" attribute.
        width - Html "width" attribute.
        height - Html "height" attribute.
      • Image

        public Image​(String src,
                     String alt,
                     long width,
                     long height)
        Initializes html element.
        Parameters:
        src - Html "src" attribute.
        alt - Html "alt" attribute.
        width - Html "width" attribute.
        height - Html "height" attribute.
    • Method Detail

      • getSrc

        public String getSrc()
        Html "src" attribute.
        Returns:
        Value of attribute
      • setSrc

        public Image setSrc​(String value)
        Html "src" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getSrcSet

        public String getSrcSet()
        Html "srcset" attribute.
        Returns:
        Value of attribute
      • setSrcSet

        public Image setSrcSet​(String value)
        Html "srcset" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getSizes

        public String getSizes()
        Html "sizes" attribute.
        Returns:
        Value of attribute
      • setSizes

        public Image setSizes​(String value)
        Html "sizes" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getAlt

        public String getAlt()
        Html "alt" attribute.
        Returns:
        Value of attribute
      • setAlt

        public Image setAlt​(String value)
        Html "alt" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getWidth

        public long getWidth()
        Html "width" attribute.
        Returns:
        Value of attribute
      • setWidth

        public Image setWidth​(long value)
        Html "width" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getHeight

        public long getHeight()
        Html "height" attribute.
        Returns:
        Value of attribute
      • setHeight

        public Image setHeight​(long value)
        Html "height" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getBorder

        public int getBorder()
        Html "border" attribute.
        Returns:
        Value of attribute
      • setBorder

        public Image setBorder​(int value)
        Html "border" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getHSpace

        public int getHSpace()
        Html "hspace" attribute.
        Returns:
        Value of attribute
      • setHSpace

        public Image setHSpace​(int value)
        Html "hspace" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getVSpace

        public int getVSpace()
        Html "vspace" attribute.
        Returns:
        Value of attribute
      • setVSpace

        public Image setVSpace​(int value)
        Html "vspace" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference
      • getUseMap

        public String getUseMap()
        Html "usemap" attribute.
        Returns:
        Value of attribute
      • setUseMap

        public Image setUseMap​(String value)
        Html "usemap" attribute.
        Parameters:
        value - Value of attribute
        Returns:
        Self reference