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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String alt
      The alternative text to use.
      private java.lang.String height
      The height to use.
      private java.lang.String position
      Where to place the image relative to the displayed name (left or right).
      private java.lang.String src
      The source location.
      private java.lang.String style
      The style to use.
      private java.lang.String width
      The width to use.
    • 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
    • Field Detail

      • src

        private java.lang.String src
        The source location.
      • position

        private java.lang.String position
        Where to place the image relative to the displayed name (left or right).
      • alt

        private java.lang.String alt
        The alternative text to use.
      • width

        private java.lang.String width
        The width to use.
      • height

        private java.lang.String height
        The height to use.
      • style

        private java.lang.String style
        The style to use.
    • 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