Class Banner

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

    public class Banner
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Banner logo on the masthead of the site.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String alt
      The alt description for the banner image.
      private java.lang.String border
      The border to use for the banner image.
      private java.lang.String height
      The height to use for the banner image.
      private java.lang.String href
      The href of a link to be used for the banner image.
      private java.lang.String name
      The name of the banner.
      private java.lang.String src
      The source location of an image for the banner.
      private java.lang.String title
      The title for the banner image.
      private java.lang.String width
      The width to use for the banner image.
    • Constructor Summary

      Constructors 
      Constructor Description
      Banner()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Banner clone()
      Method clone.
      boolean equals​(java.lang.Object other)
      Method equals.
      java.lang.String getAlt()
      Get the alt description for the banner image.
      java.lang.String getBorder()
      Get the border to use for the banner image.
      java.lang.String getHeight()
      Get the height to use for the banner image.
      java.lang.String getHref()
      Get the href of a link to be used for the banner image.
      java.lang.String getName()
      Get the name of the banner.
      java.lang.String getSrc()
      Get the source location of an image for the banner.
      java.lang.String getTitle()
      Get the title for the banner image.
      java.lang.String getWidth()
      Get the width to use for the banner image.
      int hashCode()
      Method hashCode.
      void setAlt​(java.lang.String alt)
      Set the alt description for the banner image.
      void setBorder​(java.lang.String border)
      Set the border to use for the banner image.
      void setHeight​(java.lang.String height)
      Set the height to use for the banner image.
      void setHref​(java.lang.String href)
      Set the href of a link to be used for the banner image.
      void setName​(java.lang.String name)
      Set the name of the banner.
      void setSrc​(java.lang.String src)
      Set the source location of an image for the banner.
      void setTitle​(java.lang.String title)
      Set the title for the banner image.
      void setWidth​(java.lang.String width)
      Set the width to use for the banner image.
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

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

      • name

        private java.lang.String name
        The name of the banner.
      • src

        private java.lang.String src
        The source location of an image for the banner.
      • alt

        private java.lang.String alt
        The alt description for the banner image.
      • href

        private java.lang.String href
        The href of a link to be used for the banner image.
      • border

        private java.lang.String border
        The border to use for the banner image.
      • width

        private java.lang.String width
        The width to use for the banner image.
      • height

        private java.lang.String height
        The height to use for the banner image.
      • title

        private java.lang.String title
        The title for the banner image.
    • Constructor Detail

      • Banner

        public Banner()
    • Method Detail

      • clone

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

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

        public java.lang.String getAlt()
        Get the alt description for the banner image.
        Returns:
        String
      • getBorder

        public java.lang.String getBorder()
        Get the border to use for the banner image.
        Returns:
        String
      • getHeight

        public java.lang.String getHeight()
        Get the height to use for the banner image.
        Returns:
        String
      • getHref

        public java.lang.String getHref()
        Get the href of a link to be used for the banner image.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Get the name of the banner.
        Returns:
        String
      • getSrc

        public java.lang.String getSrc()
        Get the source location of an image for the banner.
        Returns:
        String
      • getTitle

        public java.lang.String getTitle()
        Get the title for the banner image.
        Returns:
        String
      • getWidth

        public java.lang.String getWidth()
        Get the width to use for the banner image.
        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 alt description for the banner image.
        Parameters:
        alt -
      • setBorder

        public void setBorder​(java.lang.String border)
        Set the border to use for the banner image.
        Parameters:
        border -
      • setHeight

        public void setHeight​(java.lang.String height)
        Set the height to use for the banner image.
        Parameters:
        height -
      • setHref

        public void setHref​(java.lang.String href)
        Set the href of a link to be used for the banner image.
        Parameters:
        href -
      • setName

        public void setName​(java.lang.String name)
        Set the name of the banner.
        Parameters:
        name -
      • setSrc

        public void setSrc​(java.lang.String src)
        Set the source location of an image for the banner.
        Parameters:
        src -
      • setTitle

        public void setTitle​(java.lang.String title)
        Set the title for the banner image.
        Parameters:
        title -
      • setWidth

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

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