public class ButtonTag extends BodyTagSupport implements Attributed
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
ButtonTag() |
Modifier and Type | Method and Description |
---|---|
void |
addTag(String tag) |
void |
addTags(Collection<String> tags) |
protected void |
disposeBuilder()
Disposes the builder instance.
|
int |
doEndTag() |
int |
doStartTag() |
void |
setAttribute(String name,
String value)
Sets the HTML attribute from a sub
AttributeTag . |
void |
setButton(Object type) |
void |
setCategory(Object category) |
void |
setDescription(String description) |
void |
setHidden(boolean hidden) |
void |
setHtml5(boolean html5) |
void |
setLanguage(Object language) |
void |
setPopout(boolean popout) |
void |
setPrefix(String prefix) |
void |
setRevsharekey(String key) |
void |
setScope(String scope) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
protected void |
setupBuilder()
Creates a new builder instance, if not already done.
|
void |
setUrl(String url) |
void |
setUser(Object user) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public ButtonTag()
public void setDescription(String description)
public void setCategory(Object category)
public void setLanguage(Object language)
public void setRevsharekey(String key)
public void setPopout(boolean popout)
public void setHidden(boolean hidden)
public void setHtml5(boolean html5)
public void setStyleClass(String styleClass)
public void addTags(Collection<String> tags)
public void setAttribute(String name, String value)
Attributed
AttributeTag
.setAttribute
in interface Attributed
name
- Attribute namevalue
- Attribute valuepublic int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
protected void setupBuilder()
protected void disposeBuilder()
Copyright © 2010–2017. All rights reserved.