|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.cc.framework.taglib.ScriptTagSupport com.cc.framework.taglib.controls.BaseControlTag com.cc.framework.taglib.controls.ButtonTag
Tag-Handler for the Button Control
Field Summary | |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.controls.BaseControlTag |
log |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 | |
ButtonTag()
Constructor |
Method Summary | |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
int |
doStartTag()
|
protected ButtonDesignModel |
getButtonDesignModel()
Returns a casted version of the ControlDesignModel |
void |
setBase(java.lang.String base)
Sets the resource base directory |
void |
setButtonStyle(java.lang.String buttonStyle)
sets the button style |
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the text element can be activated or disabled with the filter-attribute |
void |
setSrc(java.lang.String src)
Sets the src. |
void |
setTarget(java.lang.String target)
The HTML-target attribute of the element can be specified with this attribute. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setTitle(java.lang.String title)
Sets the buttons Tooltip text |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, release, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, setPageContext, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, setValue, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
Constructor Detail |
public ButtonTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected ButtonDesignModel getButtonDesignModel()
protected Control doCreateControl() throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl
in class BaseControlTag
javax.servlet.jsp.JspException
- If an error during bean lookup occursBaseControlTag.doCreateControl()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseControlTag
javax.servlet.jsp.JspException
Tag.doStartTag()
public void setSrc(java.lang.String src)
src
- The src to setpublic void setText(java.lang.String text)
text
- The text to setpublic void setTitle(java.lang.String title)
title
- Tooltip textpublic void setButtonStyle(java.lang.String buttonStyle) throws javax.servlet.jsp.JspException
buttonStyle
- Button Style
javax.servlet.jsp.JspException
- If the Argument can't be converted to integerpublic void setBase(java.lang.String base)
WebResourceTag
setBase
in interface WebResourceTag
base
- Base DirectoryWebResourceTag.setBase(java.lang.String)
public void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
filter
- true
if the text should be HTML encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to a booleanpublic void setTarget(java.lang.String target)
target
- The HTML-target attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |