|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.cc.framework.taglib.ScriptBodyTagSupport com.cc.framework.taglib.controls.ColumnHeaderTag
Base class for column header tag handler
Field Summary | |
private ColumnHeaderDesignModel |
designModel
The DesignModel of the column |
private static long |
serialVersionUID
Serial Version UID |
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 | |
ColumnHeaderTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
protected ColumnHeaderDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the column |
int |
doEndTag()
|
int |
doStartTag()
|
ClientHandler |
getClientHandler()
Returns the ClientHandler interface of the controls design model. |
protected ColumnHeaderDesignModel |
getDesignModel()
Returns the DesignModel for the column |
void |
release()
|
protected void |
releaseDesignModel()
This method gets called when the design model is not longer needed |
void |
setAjax(boolean ajax)
Directs the framework to add additional AJAX handlers to the control. |
void |
setAjax(java.lang.String ajax)
Directs the framework to add additional AJAX handlers to the column. |
void |
setAlign(java.lang.String alignment)
Specifies the alignment of the column: left = left alignment. |
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the column contents can be activated or disabled with the filter-attribute. |
void |
setImagemap(java.lang.String mapName)
Specifies the name of an Imagemap which must be saved in the request. |
void |
setImageref(java.lang.String imageRef)
Sets the Reference to an Image in an ImageMap, which should be display in front of the Label |
void |
setMaxlength(java.lang.String maxlength)
Specifies the maximum number of characters for the data input or display. |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setStyle(java.lang.String style)
An HTML-style can be directly specified with this attribute. |
void |
setStyleClass(java.lang.String styleClass)
The HTML-class attribute of the element can be specified with this attribute. |
void |
setStyleId(java.lang.String id)
The HTML-id attribute of the element can be specified with this attribute. |
void |
setTitle(java.lang.String title)
Specifies the column title |
void |
setTooltip(java.lang.String tooltip)
Specifies a static tooltip text. |
void |
setTransaction(java.lang.String transaction)
Directs the framework to include a transaction token (if any) in all generated hyperlinks for this column. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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, setParent |
Field Detail |
private static final long serialVersionUID
private ColumnHeaderDesignModel designModel
Constructor Detail |
public ColumnHeaderTag()
Method Detail |
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
Tag.setPageContext(PageContext pc)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
Tag.release()
protected void releaseDesignModel()
protected ColumnHeaderDesignModel doCreateDesignModel()
protected ColumnHeaderDesignModel getDesignModel()
public ClientHandler getClientHandler()
ScriptSupport
getClientHandler
in interface ScriptSupport
ScriptSupport.getClientHandler()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doStartTag()
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
javax.servlet.jsp.JspException
IterationTag.doAfterBody()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doEndTag()
public void setTitle(java.lang.String title)
title
- The column titlepublic void setAlign(java.lang.String alignment) throws javax.servlet.jsp.JspException
alignment
- The alignment of the column
javax.servlet.jsp.JspException
- If the argument can't be converted to an AlignmentTypepublic void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
true
filter
- true
if the column content should be HTML
encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setStyleId(java.lang.String id)
id
- The HTML-id attributepublic void setStyle(java.lang.String style)
style
- An HTML-stylepublic void setStyleClass(java.lang.String styleClass)
styleClass
- The HTML-class attributepublic void setTooltip(java.lang.String tooltip)
tooltip
- Tooltip Textpublic void setImageref(java.lang.String imageRef)
imageRef
- Reference to an Image in an ImageMappublic void setImagemap(java.lang.String mapName) throws javax.servlet.jsp.JspException
mapName
- Name of the Imagemap
javax.servlet.jsp.JspException
- If the Image Map could not be foundpublic void setMaxlength(java.lang.String maxlength) throws javax.servlet.jsp.JspException
maxlength
- The maximum number of characters
javax.servlet.jsp.JspException
- If the Argument can't be converted to intpublic void setTransaction(java.lang.String transaction) throws javax.servlet.jsp.JspException
transaction
- include transaction token
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setAjax(java.lang.String ajax) throws javax.servlet.jsp.JspException
AjaxSupportTag
setAjax
in interface AjaxSupportTag
ajax
- enable AJAX
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanAjaxSupportTag.setAjax(java.lang.String)
public void setAjax(boolean ajax)
AjaxSupportTag
setAjax
in interface AjaxSupportTag
ajax
- true
to enable AJAXAjaxSupportTag.setAjax(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |