net.sf.springlayout.web.layout.taglib
Class DataGridTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by net.sf.springlayout.web.layout.taglib.DataGridTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class DataGridTag
extends javax.servlet.jsp.tagext.BodyTagSupport

See Also:
Serialized Form

Field Summary
static java.lang.String CURRENT_COLLECTION_ITEM
           
static java.lang.String CURRENT_ROW_PATH
           
static java.lang.String GRID_INDEX
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
DataGridTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getAddRowCallback()
           
 java.lang.String getCorrectedPath(java.lang.String pathToCorrect)
           
 java.lang.String getCssStyle()
          Retrieves the cssStyle for this DataGridTag.
 java.lang.Object getCurrent()
          Retrieves the current item in the iteration for this DataGridTag.
 java.lang.String getHeaderClass()
          Retrieves the headerClass for this DataGridTag.
 java.lang.Object getItems()
          Retrieves the items for this DataGridTag.
 java.lang.String getPath()
          Retrieves the path for this DataGridTag.
 java.lang.String getRemoveRowCallback()
           
 void setAddButtonClass(java.lang.String addButtonClass)
          Sets the addButtonClass for this DataGridTag.
 void setAddButtonTitle(java.lang.String addButtonTitle)
          Sets the addButtonTitle for this DataGridTag.
 void setAddButtonTitleKey(java.lang.String addButtonTitleKey)
          Sets the addButtonTitleKey for this DataGridTag.
 void setAddRowCallback(java.lang.String addRowCallback)
           
 void setCancelButtonClass(java.lang.String cancelButtonClass)
          Sets the cancelButtonClass for this DataGridTag.
 void setCancelButtonTitle(java.lang.String cancelButtonTitle)
          Sets the cancelButtonTitle for this DataGridTag.
 void setCancelButtonTitleKey(java.lang.String cancelButtonTitleKey)
          Sets the cancelButtonTitleKey for this DataGridTag.
 void setCssClass(java.lang.String cssClass)
          Sets the cssClass for this DataGridTag.
 void setCssStyle(java.lang.String cssStyle)
          Sets the cssStyle for this DataGridTag.
 void setEmptyMessageKey(java.lang.String emptyMessageKey)
          Sets the emptyMessageKey for this DataGridTag.
 void setFooterCellClass(java.lang.String footerCellClass)
          Sets the footerCellClass for this DataGridTag.
 void setFooterRowClass(java.lang.String footerRowClass)
          Sets the footerRowClass for this DataGridTag.
 void setGridId(java.lang.String gridId)
          Sets the gridId for this DataGridTag.
 void setHeaderClass(java.lang.String headerClass)
          Sets the headerClass for this DataGridTag.
 void setMaintainUniqueSelectPaths(java.lang.String maintainUniqueSelectPaths)
          Sets the maintainUniqueSelectPaths for this DataGridTag.
 void setPath(java.lang.String path)
          Sets the path for this DataGridTag.
 void setRemoveRowCallback(java.lang.String removeRowCallback)
           
static void write(javax.servlet.jsp.JspWriter out, java.lang.String output)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

GRID_INDEX

public static final java.lang.String GRID_INDEX
See Also:
Constant Field Values

CURRENT_COLLECTION_ITEM

public static final java.lang.String CURRENT_COLLECTION_ITEM
See Also:
Constant Field Values

CURRENT_ROW_PATH

public static final java.lang.String CURRENT_ROW_PATH
See Also:
Constant Field Values
Constructor Detail

DataGridTag

public DataGridTag()
Method Detail

setMaintainUniqueSelectPaths

public void setMaintainUniqueSelectPaths(java.lang.String maintainUniqueSelectPaths)
Sets the maintainUniqueSelectPaths for this DataGridTag.

Parameters:
maintainUniqueSelectPaths - Sets the maintainUniqueSelectPaths for this DataGridTag.

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.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

getItems

public java.lang.Object getItems()
Retrieves the items for this DataGridTag.

Returns:
Returns the items for this DataGridTag.

setGridId

public void setGridId(java.lang.String gridId)
Sets the gridId for this DataGridTag.

Parameters:
id - Sets the gridId for this DataGridTag.

setCssClass

public void setCssClass(java.lang.String cssClass)
Sets the cssClass for this DataGridTag.

Parameters:
cssClass - Sets the cssClass for this DataGridTag.

getHeaderClass

public java.lang.String getHeaderClass()
Retrieves the headerClass for this DataGridTag.

Returns:
Returns the headerClass for this DataGridTag.

setHeaderClass

public void setHeaderClass(java.lang.String headerClass)
Sets the headerClass for this DataGridTag.

Parameters:
headerClass - Sets the headerClass for this DataGridTag.

getCssStyle

public java.lang.String getCssStyle()
Retrieves the cssStyle for this DataGridTag.

Returns:
Returns the cssStyle for this DataGridTag.

setCssStyle

public void setCssStyle(java.lang.String cssStyle)
Sets the cssStyle for this DataGridTag.

Parameters:
cssStyle - Sets the cssStyle for this DataGridTag.

setAddButtonClass

public void setAddButtonClass(java.lang.String addButtonClass)
Sets the addButtonClass for this DataGridTag.

Parameters:
addButtonClass - Sets the addButtonClass for this DataGridTag.

setAddButtonTitle

public void setAddButtonTitle(java.lang.String addButtonTitle)
Sets the addButtonTitle for this DataGridTag.

Parameters:
addButtonTitle - Sets the addButtonTitle for this DataGridTag.

setAddButtonTitleKey

public void setAddButtonTitleKey(java.lang.String addButtonTitleKey)
Sets the addButtonTitleKey for this DataGridTag.

Parameters:
addButtonTitleKey - Sets the addButtonTitleKey for this DataGridTag.

setCancelButtonClass

public void setCancelButtonClass(java.lang.String cancelButtonClass)
Sets the cancelButtonClass for this DataGridTag.

Parameters:
cancelButtonClass - Sets the cancelButtonClass for this DataGridTag.

setCancelButtonTitle

public void setCancelButtonTitle(java.lang.String cancelButtonTitle)
Sets the cancelButtonTitle for this DataGridTag.

Parameters:
cancelButtonTitle - Sets the cancelButtonTitle for this DataGridTag.

setCancelButtonTitleKey

public void setCancelButtonTitleKey(java.lang.String cancelButtonTitleKey)
Sets the cancelButtonTitleKey for this DataGridTag.

Parameters:
cancelButtonTitleKey - Sets the cancelButtonTitleKey for this DataGridTag.

setFooterCellClass

public void setFooterCellClass(java.lang.String footerCellClass)
Sets the footerCellClass for this DataGridTag.

Parameters:
footerCellClass - Sets the footerCellClass for this DataGridTag.

setFooterRowClass

public void setFooterRowClass(java.lang.String footerRowClass)
Sets the footerRowClass for this DataGridTag.

Parameters:
footerRowClass - Sets the footerRowClass for this DataGridTag.

write

public static void write(javax.servlet.jsp.JspWriter out,
                         java.lang.String output)
                  throws javax.servlet.jsp.JspException
Parameters:
out -
output -
Throws:
javax.servlet.jsp.JspException

getCurrent

public java.lang.Object getCurrent()
Retrieves the current item in the iteration for this DataGridTag.

Returns:
Returns the current item in the iteration for this DataGridTag.

getPath

public java.lang.String getPath()
Retrieves the path for this DataGridTag.

Returns:
Returns the path for this DataGridTag.

setPath

public void setPath(java.lang.String path)
Sets the path for this DataGridTag.

Parameters:
path - Sets the path for this DataGridTag.

setEmptyMessageKey

public void setEmptyMessageKey(java.lang.String emptyMessageKey)
Sets the emptyMessageKey for this DataGridTag.

Parameters:
emptyMessageKey - Sets the emptyMessageKey for this DataGridTag.

getCorrectedPath

public java.lang.String getCorrectedPath(java.lang.String pathToCorrect)

getAddRowCallback

public java.lang.String getAddRowCallback()
Returns:
Returns the addRowCallback.

setAddRowCallback

public void setAddRowCallback(java.lang.String addRowCallback)
Parameters:
addRowCallback - the addRowCallback to set

getRemoveRowCallback

public java.lang.String getRemoveRowCallback()
Returns:
Returns the removeRowCallback.

setRemoveRowCallback

public void setRemoveRowCallback(java.lang.String removeRowCallback)
Parameters:
removeRowCallback - the removeRowCallback to set


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.