org.apache.maven.doxia.site.decoration
Class LinkItem

java.lang.Object
  extended by org.apache.maven.doxia.site.decoration.LinkItem
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Logo, MenuItem

public class LinkItem
extends Object
implements Serializable, Cloneable

A link in the navigation.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
LinkItem()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkItem

public LinkItem()
Method Detail

clone

public LinkItem clone()
Method clone.

Overrides:
clone in class Object
Returns:
LinkItem

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getAlt

public String getAlt()
Get the alt to use for the image.

Returns:
String

getBorder

public String getBorder()
Get the border to use for the image.

Returns:
String

getHeight

public String getHeight()
Get the height to use for the image.

Returns:
String

getHref

public String getHref()
Get the href to use for the link.

Returns:
String

getImg

public String getImg()
Get the source location of an image.

Returns:
String

getName

public String getName()
Get the name to display for the link.

Returns:
String

getPosition

public String getPosition()
Get where to place the image regarding the displayed name (left or right).

Returns:
String

getTarget

public String getTarget()
Get where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.

Returns:
String

getTitle

public String getTitle()
Get the title to use for the image.

Returns:
String

getWidth

public String getWidth()
Get the width to use for the image.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

setAlt

public void setAlt(String alt)
Set the alt to use for the image.

Parameters:
alt -

setBorder

public void setBorder(String border)
Set the border to use for the image.

Parameters:
border -

setHeight

public void setHeight(String height)
Set the height to use for the image.

Parameters:
height -

setHref

public void setHref(String href)
Set the href to use for the link.

Parameters:
href -

setImg

public void setImg(String img)
Set the source location of an image.

Parameters:
img -

setName

public void setName(String name)
Set the name to display for the link.

Parameters:
name -

setPosition

public void setPosition(String position)
Set where to place the image regarding the displayed name (left or right).

Parameters:
position -

setTarget

public void setTarget(String target)
Set where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.

Parameters:
target -

setTitle

public void setTitle(String title)
Set the title to use for the image.

Parameters:
title -

setWidth

public void setWidth(String width)
Set the width to use for the image.

Parameters:
width -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.