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
- public void setBorder(String border)
border
- public void setHeight(String height)
height
- public void setHref(String href)
href
- public void setImg(String img)
img
- public void setName(String name)
name
- public void setPosition(String position)
position
- public void setTarget(String target)
target
- public void setTitle(String title)
title
- public void setWidth(String width)
width
- Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.