|
|||||||||||
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.util.DesignRuleTag
Tag for declaring design rules
Field Summary | |
private DesignRule |
designRule
The design rule object |
private static long |
serialVersionUID
Serial Version UID |
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 | |
DesignRuleTag()
Constructor |
Method Summary | |
protected DesignRule |
doCreateDesignRule()
Creates the design rule object |
int |
doEndTag()
|
int |
doStartTag()
|
ClientHandler |
getClientHandler()
Returns the ClientHandler interface of the controls design model. |
protected DesignRule |
getDesignRule()
Returns the design rule |
void |
release()
|
protected void |
releaseDesignRule()
Releases the designrule |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setRule(java.lang.String rule)
Sets the rule |
void |
setStyle(java.lang.String style)
An HTML-style. |
void |
setStyleClass(java.lang.String styleClass)
The HTML-class attribute. |
void |
setStyleId(java.lang.String styleId)
The HTML-id attribute. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
Field Detail |
private static final long serialVersionUID
private DesignRule designRule
Constructor Detail |
public DesignRuleTag()
Method Detail |
protected DesignRule getDesignRule()
protected DesignRule doCreateDesignRule()
protected void releaseDesignRule()
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 doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
javax.servlet.jsp.JspException
Tag.doEndTag()
public void setRule(java.lang.String rule)
rule
- the rulepublic void setStyle(java.lang.String style)
style
- An HTML-stylepublic void setStyleId(java.lang.String styleId)
styleId
- The HTML-id attributepublic void setStyleClass(java.lang.String styleClass)
styleClass
- The HTML-class attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |