|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTagRenderingBase
TagHtmlBase
InputBooleanTag
public abstract class InputBooleanTag
Render and HTML <input> element of either type checkbox or radio. In HTML 4.01 the start tag is required and the end tag is forbidden. There are no required attributes.
| Nested Class Summary | |
|---|---|
static class |
InputBooleanTag.State
|
| Nested classes/interfaces inherited from class TagRenderingBase |
|---|
TagRenderingBase.Factory |
| Field Summary |
|---|
| Fields inherited from class TagRenderingBase |
|---|
ANCHOR_TAG, AREA_TAG, BASE_TAG, BODY_TAG, BR_TAG, CAPTION_TAG, DIV_TAG, FORM_TAG, HTML_RENDERING, HTML_RENDERING_QUIRKS, HTML_TAG, IMAGE_TAG, INPUT_BOOLEAN_TAG, INPUT_FILE_TAG, INPUT_HIDDEN_TAG, INPUT_IMAGE_TAG, INPUT_SUBMIT_TAG, INPUT_TEXT_TAG, LABEL_TAG, OPTION_TAG, SCRIPT_TAG, SELECT_TAG, SPAN_TAG, TABLE_TAG, TBODY_TAG, TD_TAG, TEXT_AREA_TAG, TFOOT_TAG, TH_TAG, THEAD_TAG, TR_TAG, UNKNOWN_RENDERING, XHTML_RENDERING |
| Constructor Summary | |
|---|---|
InputBooleanTag()
|
|
| Method Summary | |
|---|---|
static void |
add(HashMap html,
HashMap htmlQuirks,
HashMap xhtml)
|
void |
doEndTag(AbstractRenderAppender sb)
Render the end tag for an element. |
void |
doStartTag(AbstractRenderAppender sb,
AbstractTagState renderState)
Render the start tag for an element. |
protected abstract void |
renderChecked(AbstractRenderAppender sb,
boolean checked)
|
protected abstract void |
renderDisabled(AbstractRenderAppender sb,
boolean disabled)
|
protected abstract void |
writeEnd(AbstractRenderAppender sb)
|
| 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 InputBooleanTag()
| Method Detail |
|---|
public static void add(HashMap html,
HashMap htmlQuirks,
HashMap xhtml)
public void doStartTag(AbstractRenderAppender sb,
AbstractTagState renderState)
TagRenderingBase
doStartTag in class TagRenderingBasesb - A InternalStringBuilder where the element start tag is appended.renderState - The state assocated with the element.public void doEndTag(AbstractRenderAppender sb)
TagRenderingBase
doEndTag in class TagRenderingBasesb - A InternalStringBuilder where the element end tag may be appended.protected abstract void writeEnd(AbstractRenderAppender sb)
protected abstract void renderDisabled(AbstractRenderAppender sb,
boolean disabled)
protected abstract void renderChecked(AbstractRenderAppender sb,
boolean checked)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||