edu.internet2.middleware.grouper.ui.tags
Class GrouperPagingTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by edu.internet2.middleware.grouper.ui.tags.GrouperPagingTag
All Implemented Interfaces:
JspTag, SimpleTag

public class GrouperPagingTag
extends SimpleTagSupport

does paging google style


Constructor Summary
GrouperPagingTag()
           
 
Method Summary
 void doTag()
           
 String getPagingName()
          pagingName
 String getRefreshOperation()
          operation to call when refreshing
 boolean isShowSummaryOrButtons()
           
 void setPagingName(String pagingName1)
           
 void setRefreshOperation(String refreshOperation1)
          operation to call when refreshing
 void setShowSummaryOrButtons(boolean showSummaryOrButtons1)
          show summary or buttons
 boolean showButton(QueryPaging queryPaging, int pageNumber)
           
 boolean showEllipses(QueryPaging queryPaging, int pageNumber)
           
 boolean showLabel(QueryPaging queryPaging, int pageNumber)
           
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrouperPagingTag

public GrouperPagingTag()
Method Detail

doTag

public void doTag()
           throws JspException,
                  IOException
Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException
See Also:
SimpleTagSupport.doTag()

getPagingName

public String getPagingName()
pagingName

Returns:
the groupName

isShowSummaryOrButtons

public boolean isShowSummaryOrButtons()
Returns:
the showSummaryOrButtons

setShowSummaryOrButtons

public void setShowSummaryOrButtons(boolean showSummaryOrButtons1)
show summary or buttons

Parameters:
showSummaryOrButtons1 - the showSummaryOrButtons to set

setPagingName

public void setPagingName(String pagingName1)
Parameters:
pagingName1 - the pagingName to set

getRefreshOperation

public String getRefreshOperation()
operation to call when refreshing

Returns:
the refreshOperation

setRefreshOperation

public void setRefreshOperation(String refreshOperation1)
operation to call when refreshing

Parameters:
refreshOperation1 - the refreshOperation to set

showEllipses

public boolean showEllipses(QueryPaging queryPaging,
                            int pageNumber)
Parameters:
queryPaging -
pageNumber -
Returns:
true if ellipses should appear for this button

showLabel

public boolean showLabel(QueryPaging queryPaging,
                         int pageNumber)
Parameters:
queryPaging -
pageNumber -
Returns:
true if a label should display for this page number

showButton

public boolean showButton(QueryPaging queryPaging,
                          int pageNumber)
Parameters:
queryPaging -
pageNumber -
Returns:
true if a button should display for this page number