|
|||||||||||
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.ColumnBaseTag
Base class for column tag handler
Field Summary | |
private ColumnContainerTag |
container
The Parent Container Tag |
private ColumnDesignModel |
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 | |
ColumnBaseTag()
Constructor |
Method Summary | |
void |
addDesignRule(DesignRule rule)
Adds a new design rule to the container |
void |
assignConverter(Converter converter)
Assigns a converter to the Tag |
protected abstract ColumnDesignModel |
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. |
ColumnContainerTag |
getContainer()
Returns te container in which this column is nested |
protected ColumnDesignModel |
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 |
setAnchor(java.lang.String anchor)
The HTML-Anchor attribute of the element can be specified with this attribute. |
void |
setAnchorProperty(java.lang.String anchorProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-Anchor attribute. |
void |
setConverter(java.lang.String converter)
Sets the Converter that should be used to convert Java Objects into their localized String representation. |
void |
setDisabled(java.lang.String disabled)
Sets the columns disable mode |
void |
setDisableProperty(java.lang.String property)
Sets the property which should be used to disable the column |
void |
setEditable(java.lang.String editable)
Sets the columns edit mode |
void |
setEditableProperty(java.lang.String property)
Sets the property which should be used to make the column editable or not |
void |
setEnableProperty(java.lang.String value)
Indicates the name of a property, with the help of which the column function can be disabled in the relevant line. |
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 |
setImageProperty(java.lang.String property)
Sets the ImageProperty. |
void |
setJoin(java.lang.String join)
Joins the column with the previous column |
void |
setLinkName(java.lang.String linkName)
The HTML-Anchor name attribute of the element can be specified with this attribute. |
void |
setLinkNameProperty(java.lang.String linkNameProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-Anchor name attribute. |
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 |
setPermission(java.lang.String permission)
With this attribute, access to the element can be restricted. |
void |
setProperty(java.lang.String property)
The name of the property that contains the data of the column. |
void |
setRunat(java.lang.String runat)
This attribute specifies whether, for the control element, Clientside JavaScript should be used, or whether the control element should work purely with Server Roundtrips. |
void |
setSortable(java.lang.String value)
The attribute indicates whether sorting can be carried out according to this column. |
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 |
setTarget(java.lang.String target)
The HTML-target attribute of the element can be specified with this attribute. |
void |
setTargetProperty(java.lang.String targetProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-target attribute. |
void |
setTitle(java.lang.String title)
Specifies the column title |
void |
setTooltip(java.lang.String tooltip)
Specifies a static tooltip text. |
void |
setTooltipProperty(java.lang.String tooltipProperty)
Specifies the name of a property with the help of which the relevant line can generate an HTML-text attribute for the tooltip. |
void |
setTransaction(java.lang.String transaction)
Directs the framework to include a transaction token (if any) in all generated hyperlinks for this column. |
void |
setType(java.lang.String type)
Specifies the rowbean java type |
void |
setWidth(java.lang.String newWidth)
Sets the width of the column (pixel or %) |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, 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 ColumnDesignModel designModel
private ColumnContainerTag container
Constructor Detail |
public ColumnBaseTag()
Method Detail |
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
Tag.release()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
Tag.setPageContext(PageContext pc)
protected ColumnDesignModel getDesignModel()
protected abstract ColumnDesignModel doCreateDesignModel()
protected void releaseDesignModel()
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 doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doEndTag()
public ColumnContainerTag getContainer()
public void setType(java.lang.String type)
type
- The row bean typepublic void setTitle(java.lang.String title)
title
- The column titlepublic void setProperty(java.lang.String property) throws javax.servlet.jsp.JspException
property
- Name of the property that contains the data of the column
javax.servlet.jsp.JspException
public void setWidth(java.lang.String newWidth)
newWidth
- The Widthpublic void setAlign(java.lang.String alignment)
alignment
- The alignment of the columnpublic void setSortable(java.lang.String value) throws javax.servlet.jsp.JspException
value
- true
if the column can be sorted
javax.servlet.jsp.JspException
- If the argument can't be parsedpublic void setFilter(java.lang.String filter)
true
filter
- true
if the column content should be HTML
encoded.public void setEditable(java.lang.String editable)
editable
- true
if the column is editablepublic void setEditableProperty(java.lang.String property)
property
- the name of the propertypublic void setDisabled(java.lang.String disabled)
disabled
- true
if the column is disabledpublic void setDisableProperty(java.lang.String property)
property
- the name of the propertypublic void setEnableProperty(java.lang.String value)
value
- enablepublic void setMaxlength(java.lang.String maxlength)
maxlength
- The maximum number of characterspublic void setStyleId(java.lang.String id)
id
- The HTML-id attributepublic void setPermission(java.lang.String permission)
permission
- String witch stands for the required authorizationSecurityUtil
public void setRunat(java.lang.String runat) throws javax.servlet.jsp.JspException
runat
- "client" or "server"
javax.servlet.jsp.JspException
- If the Argument can't be converted to an object of type RunAtpublic void setStyle(java.lang.String style)
style
- An HTML-stylepublic void setStyleClass(java.lang.String styleClass)
styleClass
- The HTML-class attributepublic void setTarget(java.lang.String target)
target
- The HTML-target attributepublic void setTargetProperty(java.lang.String targetProperty)
targetProperty
- Name of a propertypublic void setTooltip(java.lang.String tooltip)
tooltip
- Tooltip Textpublic void setTooltipProperty(java.lang.String tooltipProperty)
tooltipProperty
- TooltipPropertypublic void setImageProperty(java.lang.String property)
property
- Propertypublic 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 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 setAnchor(java.lang.String anchor)
anchor
- The HTML-Anchor attributepublic void setAnchorProperty(java.lang.String anchorProperty)
anchorProperty
- Name of a propertypublic void setLinkName(java.lang.String linkName)
linkName
- The HTML-Anchor name attributepublic void setLinkNameProperty(java.lang.String linkNameProperty)
linkNameProperty
- Name of a propertypublic void setConverter(java.lang.String converter) throws javax.servlet.jsp.JspException
The Converter is set for all rows of the columns. It is not possible to set individual converters for each row in a column!
converter
- Converters class Name
javax.servlet.jsp.JspException
- If the Converter is invalidpublic void assignConverter(Converter converter)
ConversionSupportTag
assignConverter
in interface ConversionSupportTag
converter
- Converter InstanceConversionSupportTag.assignConverter(com.cc.framework.convert.Converter)
public void addDesignRule(DesignRule rule)
DesignRuleContainerTag
addDesignRule
in interface DesignRuleContainerTag
rule
- Design ruleDesignRuleContainerTag.addDesignRule(com.cc.framework.ui.model.DesignRule)
public void setJoin(java.lang.String join)
join
- the columns join modepublic 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)
setAjax
in interface AjaxSupportTag
ajax
- enable AJAX
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |