org.hdpagination.web.taglib
Class PagesDropdownTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.hdpagination.web.taglib.AbstractPaginationControlTag
org.hdpagination.web.taglib.PagesDropdownTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class PagesDropdownTag
- extends AbstractPaginationControlTag
This JSP Tag is used to render a dropdown (<select>) with all available pages,
which allows the user to navigate to different pages.
- Since:
- 1.0
- Author:
- Liangfeng Ren
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
protected java.lang.String |
generateHTML(Page page)
Generate HTML code of Pagination Control |
void |
setAccesskey(java.lang.String accesskey)
Access key that, when pressed, transfers focus to this element (<select>). |
void |
setStyle(java.lang.String style)
Specifies an inline style for the rendered dropdown (<select>). |
void |
setStyleClass(java.lang.String styleClass)
Space-separated list of CSS style class(es) to be applied to the rendered dropdown (<select>). |
void |
setTabindex(java.lang.String tabindex)
Position of the element (<select>) in the tabbing order for the current document. |
void |
setTitle(java.lang.String title)
Advisory title information about markup elements generated for the element (<select>). |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, 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 |
PagesDropdownTag
public PagesDropdownTag()
setTabindex
public void setTabindex(java.lang.String tabindex)
- Position of the element (<select>) in the tabbing order for the current document.
This value must be an integer between 0 and 32767.
Refer to attribute 'tabindex' in <select> HTML tag.
- Parameters:
tabindex -
setTitle
public void setTitle(java.lang.String title)
- Advisory title information about markup elements generated for the element (<select>).
Refer to attribute 'title' in <select> HTML tag.
- Parameters:
title -
setStyleClass
public void setStyleClass(java.lang.String styleClass)
- Space-separated list of CSS style class(es) to be applied to the rendered dropdown (<select>).
Refer to attribute 'class' in <select> HTML tag.
- Parameters:
styleClass -
setStyle
public void setStyle(java.lang.String style)
- Specifies an inline style for the rendered dropdown (<select>).
Refer to attribute 'style' in <select> HTML tag.
- Parameters:
style -
setAccesskey
public void setAccesskey(java.lang.String accesskey)
- Access key that, when pressed, transfers focus to this element (<select>).
Refer to attribute 'accesskey' in <select> HTML tag.
- Parameters:
accesskey -
generateHTML
protected java.lang.String generateHTML(Page page)
- Description copied from class:
AbstractPaginationControlTag
- Generate HTML code of Pagination Control
- Specified by:
generateHTML in class AbstractPaginationControlTag
- Parameters:
page - page Page instance containing pagination related information.
- Returns:
Copyright © 2008 HDPagination All Rights Reserved.