|
|||||||||||
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.cc.framework.taglib.ScriptBodyTagSupport
com.cc.framework.taglib.forms.FormLabelTag
Base class for form label tag handler
Field Summary | |
private FormLabelDesignModel |
designModel
The DesignModel of the label |
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 | |
FormLabelTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
int |
doEndTag()
|
int |
doStartTag()
|
ClientHandler |
getClientHandler()
Returns the ClientHandler interface of the controls design model. |
FormLabelDesignModel |
getLabelModel()
|
void |
release()
|
protected void |
releaseLabel()
Release the current form element |
void |
setAccesskey(java.lang.String accessKey)
The ACCESSKEY attribute can be used to specify a shortcut key for the <LABEL> (activated by pressing 'Alt' and the ACCESSKEY togther). |
void |
setAlign(java.lang.String alignment)
Specifies the alignment of the label: left = left alignment. |
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the label contents can be activated or disabled with the filter-attribute. |
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 |
setLabel(java.lang.String label)
Specifies the label text |
void |
setLocale(java.lang.String locale)
Sets the Loacel configuration for this element |
void |
setMaxlength(java.lang.String maxlength)
Specifies the maximum number of characters for the data input or display. |
void |
setNowrap(java.lang.String nowrap)
Sets the nowrap attribute of the label |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setPrefix(java.lang.String prefix)
Specifies the label prefix in plain HTML |
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 |
setSuffix(java.lang.String suffix)
Specifies the label suffix in plain HTML |
void |
setTooltip(java.lang.String tooltip)
Specifies a static tooltip text. |
void |
setWidth(java.lang.String width)
Sets the labels width |
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 FormLabelDesignModel designModel
Constructor Detail |
public FormLabelTag()
Method Detail |
public FormLabelDesignModel getLabelModel()
protected void releaseLabel()
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()
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 setLabel(java.lang.String label)
label
- The label textpublic void setPrefix(java.lang.String prefix)
prefix
- The label prefixpublic void setSuffix(java.lang.String suffix)
suffix
- The label suffixpublic void setAlign(java.lang.String alignment) throws javax.servlet.jsp.JspException
alignment
- The alignment of the label
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 label 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 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 setWidth(java.lang.String width)
width
- The widthpublic void setNowrap(java.lang.String nowrap) throws javax.servlet.jsp.JspException
nowrap
- Boolean Value
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setLocale(java.lang.String locale)
locale
- Locale Identifier or true|false
public void setAccesskey(java.lang.String accessKey)
accessKey
- The Access Key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |