Class Image

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Image
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    An image.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Image()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Image clone()
      Method clone.
      boolean equals​(java.lang.Object other)
      Method equals.
      java.lang.String getAlt()
      Get the alternative text to use.
      java.lang.String getHeight()
      Get the height to use.
      java.lang.String getPosition()
      Get where to place the image relative to the displayed name (left or right).
      java.lang.String getSrc()
      Get the source location.
      java.lang.String getStyle()
      Get the style to use.
      java.lang.String getWidth()
      Get the width to use.
      int hashCode()
      Method hashCode.
      void setAlt​(java.lang.String alt)
      Set the alternative text to use.
      void setHeight​(java.lang.String height)
      Set the height to use.
      void setPosition​(java.lang.String position)
      Set where to place the image relative to the displayed name (left or right).
      void setSrc​(java.lang.String src)
      Set the source location.
      void setStyle​(java.lang.String style)
      Set the style to use.
      void setWidth​(java.lang.String width)
      Set the width to use.
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Image

        public Image()
    • Method Detail

      • clone

        public Image clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        Image
      • equals

        public boolean equals​(java.lang.Object other)
        Method equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other - a other object.
        Returns:
        boolean
      • getAlt

        public java.lang.String getAlt()
        Get the alternative text to use.
        Returns:
        String
      • getHeight

        public java.lang.String getHeight()
        Get the height to use.
        Returns:
        String
      • getPosition

        public java.lang.String getPosition()
        Get where to place the image relative to the displayed name (left or right).
        Returns:
        String
      • getSrc

        public java.lang.String getSrc()
        Get the source location.
        Returns:
        String
      • getStyle

        public java.lang.String getStyle()
        Get the style to use.
        Returns:
        String
      • getWidth

        public java.lang.String getWidth()
        Get the width to use.
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int
      • setAlt

        public void setAlt​(java.lang.String alt)
        Set the alternative text to use.
        Parameters:
        alt - a alt object.
      • setHeight

        public void setHeight​(java.lang.String height)
        Set the height to use.
        Parameters:
        height - a height object.
      • setPosition

        public void setPosition​(java.lang.String position)
        Set where to place the image relative to the displayed name (left or right).
        Parameters:
        position - a position object.
      • setSrc

        public void setSrc​(java.lang.String src)
        Set the source location.
        Parameters:
        src - a src object.
      • setStyle

        public void setStyle​(java.lang.String style)
        Set the style to use.
        Parameters:
        style - a style object.
      • setWidth

        public void setWidth​(java.lang.String width)
        Set the width to use.
        Parameters:
        width - a width object.
      • toString

        public java.lang.String toString()
        Method toString.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String