public class LinkItem extends Object implements Serializable, Cloneable
Constructor and Description |
---|
LinkItem() |
Modifier and Type | Method and Description |
---|---|
LinkItem |
clone()
Method clone.
|
boolean |
equals(Object other)
Method equals.
|
String |
getAlt()
Get the alt to use for the image.
|
String |
getBorder()
Get the border to use for the image.
|
String |
getHeight()
Get the height to use for the image.
|
String |
getHref()
Get the href to use for the link.
|
String |
getImg()
Get the source location of an image.
|
String |
getName()
Get the name to display for the link.
|
String |
getPosition()
Get where to place the image regarding the displayed name
(left or right).
|
String |
getTarget()
Get where the new document will be displayed when the user
follows a link, i.e.
|
String |
getTitle()
Get the title to use for the image.
|
String |
getWidth()
Get the width to use for the image.
|
int |
hashCode()
Method hashCode.
|
void |
setAlt(String alt)
Set the alt to use for the image.
|
void |
setBorder(String border)
Set the border to use for the image.
|
void |
setHeight(String height)
Set the height to use for the image.
|
void |
setHref(String href)
Set the href to use for the link.
|
void |
setImg(String img)
Set the source location of an image.
|
void |
setName(String name)
Set the name to display for the link.
|
void |
setPosition(String position)
Set where to place the image regarding the displayed name
(left or right).
|
void |
setTarget(String target)
Set where the new document will be displayed when the user
follows a link, i.e.
|
void |
setTitle(String title)
Set the title to use for the image.
|
void |
setWidth(String width)
Set the width to use for the image.
|
String |
toString()
Method toString.
|
public boolean equals(Object other)
public String getAlt()
public String getBorder()
public String getHeight()
public String getHref()
public String getImg()
public String getName()
public String getPosition()
public String getTarget()
public String getTitle()
public String getWidth()
public void setAlt(String alt)
alt
- a alt object.public void setBorder(String border)
border
- a border object.public void setHeight(String height)
height
- a height object.public void setHref(String href)
href
- a href object.public void setImg(String img)
img
- a img object.public void setName(String name)
name
- a name object.public void setPosition(String position)
position
- a position object.public void setTarget(String target)
target
- a target object.public void setTitle(String title)
title
- a title object.public void setWidth(String width)
width
- a width object.Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.