Package com.microstrategy.web.tags
Interface InputTag
-
- All Superinterfaces:
EnumHTMLTags,Tag
public interface InputTag extends Tag
TheInputTagrepresents a HTMLinputtag.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENCODED_DEFAULT_TAG_NAME_PREFIXThe constant prefix for the encoded value of thenameattribute.static java.lang.StringENCODED_IMAGE_NAME_PREFIXThe constant prefix for the encoded value of thenameattribute.-
Fields inherited from interface com.microstrategy.web.tags.EnumHTMLTags
ATT_ACTION, ATT_ALIGN, ATT_ALT, ATT_AUTOCOMPLETE, ATT_BORDER, ATT_CELLPADDING, ATT_CELLSPACING, ATT_CHECKED, ATT_CLASS, ATT_CMD_FORMAT_TYPE, ATT_CMDID, ATT_CMDLVL, ATT_COLS, ATT_COLSPAN, ATT_DG, ATT_DIALOG, ATT_DISABLED, ATT_FOR, ATT_HEIGHT, ATT_HREF, ATT_HSPACE, ATT_ID, ATT_IFRAME, ATT_LANGUAGE, ATT_MAXLENGTH, ATT_METHOD, ATT_MODAL, ATT_NAME, ATT_NOWRAP, ATT_ONCHANGE, ATT_ONCLICK, ATT_ONFOCUS, ATT_ONKEYDOWN, ATT_ONKEYUP, ATT_ONMOUSEOUT, ATT_ONMOUSEOVER, ATT_ONSUBMIT, ATT_PARAM, ATT_PLACEHOLDER, ATT_READONLY, ATT_REL, ATT_ROWS, ATT_ROWSPAN, ATT_SCRIPT_CLASS, ATT_SELECTED, ATT_SIZE, ATT_SRC, ATT_STYLE, ATT_SUMMARY, ATT_TARGET, ATT_TITLE, ATT_TY, ATT_TYPE, ATT_VALIGN, ATT_VALUE, ATT_VALUE_ABSBOTTOM, ATT_VALUE_ABSMIDDLE, ATT_VALUE_BOTTOM, ATT_VALUE_BUTTON, ATT_VALUE_CHECKBOX, ATT_VALUE_DEFAULT, ATT_VALUE_EMBED, ATT_VALUE_FALSE, ATT_VALUE_HIDDEN, ATT_VALUE_IMAGE, ATT_VALUE_JAVASCRIPT, ATT_VALUE_LEFT, ATT_VALUE_MAX, ATT_VALUE_MIDDLE, ATT_VALUE_MIN, ATT_VALUE_NUMBER, ATT_VALUE_POST, ATT_VALUE_RADIO, ATT_VALUE_SUBMIT, ATT_VALUE_TEXT, ATT_VALUE_TOP, ATT_VALUE_TRUE, ATT_VSPACE, ATT_WIDTH, TAG_NAME_ANCHOR, TAG_NAME_CELL, TAG_NAME_DIV, TAG_NAME_HEADER, TAG_NAME_IFRAME, TAG_NAME_IMAGE, TAG_NAME_INPUT, TAG_NAME_LABEL, TAG_NAME_MAP, TAG_NAME_OPTION, TAG_NAME_ROW, TAG_NAME_SCRIPT, TAG_NAME_SELECT, TAG_NAME_SPAN, TAG_NAME_STYLE, TAG_NAME_TABLE, TAG_NAME_TBODY, TAG_NAME_TEXTAREA, TAG_NAME_THEAD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetType()Returns the value of the attributetypefor the input tag.java.lang.StringgetValue()Returns the value of the attributevaluefor the input tag.booleanisDefault()Returns a boolean value indicating whether the current tag is default.voidsetChecked(boolean checked)Sets a value to the attributecheckedfor the input tag.voidsetDefault(boolean isDefault)Sets a boolean value indicating whether the current tag is default.voidsetTitle(java.lang.String title)Sets a value to the attributetitlefor the input tag.voidsetType(java.lang.String type)Sets a value to the attributetypefor the input tag.voidsetValue(java.lang.String value)Sets a value to the attributevaluefor the input tag.-
Methods inherited from interface com.microstrategy.web.tags.Tag
addChild, addChild, addChild, addTextChild, addTextChild, doEndTag, doStartTag, getAttribute, getAttributeNames, getChildren, getContent, getCssClass, getDeepCopy, getId, getLineNumber, getPreserveCase, getRootTag, getSealed, getStyle, getTagName, isClosedRequired, isContentInline, isDynamic, removeChildren, render, render, renderCloseTag, renderOpenTag, renderOpenTag, replaceContent, setAttribute, setAttributes, setCssClass, setDynamic, setId, setIsClosedRequired, setIsContentInline, setLineNumber, setPreserveCase, setRootTag, setSealed, setStyle, setTagName
-
-
-
-
Field Detail
-
ENCODED_DEFAULT_TAG_NAME_PREFIX
static final java.lang.String ENCODED_DEFAULT_TAG_NAME_PREFIX
The constant prefix for the encoded value of thenameattribute.- See Also:
- Constant Field Values
-
ENCODED_IMAGE_NAME_PREFIX
static final java.lang.String ENCODED_IMAGE_NAME_PREFIX
The constant prefix for the encoded value of thenameattribute. The encoded value in turn is a name-value pair for an image.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
java.lang.String getType()
Returns the value of the attributetypefor the input tag.- Returns:
- the value of the attribute
type.
-
getValue
java.lang.String getValue()
Returns the value of the attributevaluefor the input tag.- Returns:
- the value of the attribute
value.
-
setType
void setType(java.lang.String type) throws UnmodifiableExceptionSets a value to the attributetypefor the input tag. It is equivalent to call the methodsetAttribute(.EnumHTMLTags.ATT_TYPE, type)- Parameters:
type- a value of the attributetype.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
setValue
void setValue(java.lang.String value) throws UnmodifiableExceptionSets a value to the attributevaluefor the input tag. It is equivalent to call the methodsetAttribute(.EnumHTMLTags.ATT_VALUE, value)- Parameters:
value- a value of the attributevalue.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
setTitle
void setTitle(java.lang.String title) throws UnmodifiableExceptionSets a value to the attributetitlefor the input tag. It is equivalent to call the methodsetAttribute(.EnumHTMLTags.ATT_TITLE, title)- Parameters:
title- a value of the attributetitle.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
setChecked
void setChecked(boolean checked) throws UnmodifiableExceptionSets a value to the attributecheckedfor the input tag. It is equivalent to call the methodsetAttribute(.EnumHTMLTags.ATT_CHECKED, checked)- Parameters:
checked- a value of the attributechecked.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
setDefault
void setDefault(boolean isDefault) throws UnmodifiableExceptionSets a boolean value indicating whether the current tag is default. A default input tag will generate a hiddeninputtag before generating the content for the current input tag.- Parameters:
isDefault-trueto indicate that the current tag is default.- Throws:
UnmodifiableException- thrown if the current tag is read-only.
-
isDefault
boolean isDefault()
Returns a boolean value indicating whether the current tag is default. A default input tag will generate a hiddeninputtag before generating the content for the current input tag.- Returns:
trueto indicate that the current tag is default.
-
-