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 |
getHref()
Get the href to use for the link.
|
Image |
getImage()
Get the image for the link.
|
String |
getName()
Get the name to display for the link.
|
String |
getTarget()
Get where the new document will be displayed when the user
follows a link, i.e.
|
int |
hashCode()
Method hashCode.
|
void |
setHref(String href)
Set the href to use for the link.
|
void |
setImage(Image image)
Set the image for the link.
|
void |
setName(String name)
Set the name to display for the link.
|
void |
setTarget(String target)
Set where the new document will be displayed when the user
follows a link, i.e.
|
String |
toString()
Method toString.
|
public boolean equals(Object other)
public String getHref()
public Image getImage()
public String getName()
public String getTarget()
public void setHref(String href)
href
- a href object.public void setImage(Image image)
image
- a image object.public void setName(String name)
name
- a name object.public void setTarget(String target)
target
- a target object.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.