|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTagRenderingBase
TagHtmlBase
ButtonTag
public abstract class ButtonTag
Render the HTML <button> element. In HTML 4.01 the start and end tags are required.
This renderer is just used by the NetUI Button as an alternative to the <input> HTML element rendered by the InputSubmitTag.
Nested Class Summary | |
---|---|
static class |
ButtonTag.State
|
Nested classes/interfaces inherited from class TagRenderingBase |
---|
TagRenderingBase.Factory |
Field Summary |
---|
Constructor Summary | |
---|---|
ButtonTag()
|
Method Summary | |
---|---|
static void |
add(HashMap html,
HashMap htmlQuirks,
HashMap xhtml)
|
void |
doEndTag(AbstractRenderAppender writer)
Render the end tag for an element. |
void |
doStartTag(AbstractRenderAppender writer,
AbstractTagState renderState)
Render the start tag for an element. |
protected abstract void |
renderDisabled(AbstractRenderAppender writer,
boolean disabled)
|
Methods inherited from class TagHtmlBase |
---|
renderAttributes |
Methods inherited from class TagRenderingBase |
---|
getAmp, getDefaultDocType, renderAttribute, renderAttributes, renderAttributeSingleQuotes, renderEndTag, renderGeneral, renderTag, setDefaultDocType, write |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ButtonTag()
Method Detail |
---|
public static void add(HashMap html, HashMap htmlQuirks, HashMap xhtml)
public void doStartTag(AbstractRenderAppender writer, AbstractTagState renderState)
TagRenderingBase
doStartTag
in class TagRenderingBase
writer
- A InternalStringBuilder where the element start tag is appended.renderState
- The state assocated with the element.public void doEndTag(AbstractRenderAppender writer)
TagRenderingBase
doEndTag
in class TagRenderingBase
writer
- A InternalStringBuilder where the element end tag may be appended.protected abstract void renderDisabled(AbstractRenderAppender writer, boolean disabled)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |