|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.github.dandelion.datatables.jsp.tag.AbstractColumnTag
public abstract class AbstractColumnTag
Abstract class which contains :
| Field Summary | |
|---|---|
protected String |
cssCellClass
|
protected String |
cssCellStyle
|
protected String |
cssClass
|
protected String |
cssStyle
|
protected String |
defaultValue
|
protected String |
display
|
protected Map<String,String> |
dynamicAttributes
|
protected String |
format
|
protected String |
property
|
protected Map<Configuration,Object> |
stagingConf
Map holding the staging configuration to apply to the column. |
protected String |
title
|
protected String |
titleKey
|
| 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 | |
|---|---|
AbstractColumnTag()
|
|
| Method Summary | |
|---|---|
protected void |
addAjaxColumn(Boolean isHeader,
String content)
Add a head column to the table when using AJAX source. |
protected void |
addDomBodyColumn(String content)
Adds a body column to the last body row when using a DOM source. |
protected void |
addDomHeadColumn(String content)
Adds a head column to the last head row whren using a DOM source. |
protected String |
getColumnContent()
Return the column content following some rules. |
protected Map<String,String> |
getDynamicAttributes()
Get the map of dynamic attributes. |
String |
getTitle()
|
String |
getTitleKey()
|
protected boolean |
isValidDynamicAttribute(String localName,
Object value)
Whether the given name-value pair is a valid dynamic attribute. |
void |
setCssCellClass(String cssCellClass)
|
void |
setCssCellStyle(String cssCellStyle)
|
void |
setCssClass(String cssClass)
|
void |
setCssStyle(String cssStyle)
|
void |
setDefault(String defaultValue)
|
void |
setDisplay(String display)
|
void |
setDynamicAttribute(String uri,
String localName,
Object value)
|
void |
setFilterable(Boolean filterable)
|
void |
setFilterCssClass(String filterCssClass)
|
void |
setFilterPlaceholder(String filterPlaceholder)
|
void |
setFilterType(String filterType)
|
void |
setFilterValues(String filterValues)
|
void |
setFormat(String format)
|
void |
setProperty(String property)
|
void |
setRenderFunction(String renderFunction)
|
void |
setSearchable(Boolean searchable)
|
void |
setSelector(String selector)
|
void |
setSortable(Boolean sortable)
|
void |
setSortDirection(String sortDirection)
|
void |
setSortInit(String sortInit)
|
void |
setSortType(String sortType)
|
void |
setTitle(String titleKey)
|
void |
setTitleKey(String titleKey)
|
void |
setUid(String uid)
|
void |
setVisible(Boolean visible)
|
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doAfterBody, doEndTag, doInitBody, doStartTag, 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 |
|---|
protected Map<Configuration,Object> stagingConf
protected String title
protected String titleKey
protected String property
protected String defaultValue
protected String cssStyle
protected String cssCellStyle
protected String cssClass
protected String cssCellClass
protected String format
protected String display
protected Map<String,String> dynamicAttributes
| Constructor Detail |
|---|
public AbstractColumnTag()
| Method Detail |
|---|
protected void addDomHeadColumn(String content)
throws javax.servlet.jsp.JspException
Adds a head column to the last head row whren using a DOM source.
content - Content of the th cell.
javax.servlet.jsp.JspException
protected void addDomBodyColumn(String content)
throws javax.servlet.jsp.JspException
Adds a body column to the last body row when using a DOM source.
content - Content of the td cell.content -
javax.servlet.jsp.JspException
protected void addAjaxColumn(Boolean isHeader,
String content)
throws javax.servlet.jsp.JspException
Add a head column to the table when using AJAX source.
Column are always marked as "header" using an AJAX source.
isHeader - content -
javax.servlet.jsp.JspException
protected String getColumnContent()
throws javax.servlet.jsp.JspException
Return the column content following some rules.
TODO
javax.servlet.jsp.JspExceptionpublic void setUid(String uid)
public void setProperty(String property)
public void setCssStyle(String cssStyle)
public void setCssClass(String cssClass)
public void setSortable(Boolean sortable)
public void setCssCellStyle(String cssCellStyle)
public void setCssCellClass(String cssCellClass)
public void setFilterable(Boolean filterable)
public void setSearchable(Boolean searchable)
public void setVisible(Boolean visible)
public void setFilterType(String filterType)
public void setFilterValues(String filterValues)
public void setFilterCssClass(String filterCssClass)
public void setFilterPlaceholder(String filterPlaceholder)
public void setSortDirection(String sortDirection)
public void setSortInit(String sortInit)
public void setDisplay(String display)
public void setDefault(String defaultValue)
public void setRenderFunction(String renderFunction)
public void setFormat(String format)
public void setSelector(String selector)
public void setSortType(String sortType)
public String getTitle()
public void setTitle(String titleKey)
public String getTitleKey()
public void setTitleKey(String titleKey)
protected Map<String,String> getDynamicAttributes()
public void setDynamicAttribute(String uri,
String localName,
Object value)
throws javax.servlet.jsp.JspException
setDynamicAttribute in interface javax.servlet.jsp.tagext.DynamicAttributesjavax.servlet.jsp.JspException
protected boolean isValidDynamicAttribute(String localName,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||