net.sourceforge.jstags.tags.table
Class Link
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sourceforge.jstags.tags.table.Link
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class Link
- extends javax.servlet.jsp.tagext.TagSupport
It allows the configuration of an asynchronous table so that it can
contain links to the next and previous pages when results are paginated.
It is a child of Table
tag
- Since:
- 1.0
- Author:
- sschz@users.sourceforge.net
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
alt
|
private java.lang.String |
containerId
|
private static org.apache.log4j.Logger |
logger
Logger for this class |
private static long |
serialVersionUID
|
private java.lang.String |
src
|
private java.lang.String |
title
|
private java.lang.String |
type
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Link()
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.log4j.Logger logger
- Logger for this class
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
type
private java.lang.String type
containerId
private java.lang.String containerId
src
private java.lang.String src
title
private java.lang.String title
alt
private java.lang.String alt
Link
public Link()
getSrc
public java.lang.String getSrc()
- Returns:
- url of the image used to represent the link
setSrc
public void setSrc(java.lang.String src)
- Parameters:
src
- url of the image used to represent the link
getTitle
public java.lang.String getTitle()
- Returns:
- title of the link. To be used as title attribute of the
img tag that will be created to represent the link
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- title of the link. To be used as title attribute of the
img tag that will be created to represent the link
getContainerId
public java.lang.String getContainerId()
- Returns:
- identifier of the html element that will contain the link
setContainerId
public void setContainerId(java.lang.String containerId)
- Parameters:
containerId
- identifier of the element whose child will
be this link
getAlt
public java.lang.String getAlt()
- Returns:
- the text used to represent the link when there is
no image
setAlt
public void setAlt(java.lang.String alt)
- Parameters:
alt
- text to be used in the link when there is no image
getType
public java.lang.String getType()
- Returns:
- the type of the link, that is, whether it is a
next or previous link
setType
public void setType(java.lang.String type)
- Parameters:
type
- type of link. Valid values are:
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
Copyright © 2007. All Rights Reserved.