public class Banner
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and 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 and Description |
---|
Banner() |
Modifier and Type | Method and 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.
|
private java.lang.String name
private java.lang.String src
private java.lang.String alt
private java.lang.String href
private java.lang.String border
private java.lang.String width
private java.lang.String height
private java.lang.String title
public Banner clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.lang.String getAlt()
public java.lang.String getBorder()
public java.lang.String getHeight()
public java.lang.String getHref()
public java.lang.String getName()
public java.lang.String getSrc()
public java.lang.String getTitle()
public java.lang.String getWidth()
public int hashCode()
hashCode
in class java.lang.Object
public void setAlt(java.lang.String alt)
alt
- public void setBorder(java.lang.String border)
border
- public void setHeight(java.lang.String height)
height
- public void setHref(java.lang.String href)
href
- public void setName(java.lang.String name)
name
- public void setSrc(java.lang.String src)
src
- public void setTitle(java.lang.String title)
title
- public void setWidth(java.lang.String width)
width
- public java.lang.String toString()
toString
in class java.lang.Object