|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object org.apache.struts2.components.Component org.apache.struts2.components.UIBean org.apache.struts2.components.TextField gboat2.base.view.components.TextField
public class TextField
创建一个输入框
使用示例:
<g2:textfield key="user" /> <g2:textfield name="user" label="User Name" />
字段摘要 | |
---|---|
protected String |
colspan
|
protected String |
groupColumns
|
protected String |
helpText
|
protected String |
inputAppend
|
protected String |
inputPrepend
|
protected String |
labelCssClass
|
protected String |
labelCssStyle
|
从类 org.apache.struts2.components.TextField 继承的字段 |
---|
maxlength, readonly, size, TEMPLATE, type |
从类 org.apache.struts2.components.UIBean 继承的字段 |
---|
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, errorPosition, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, requiredLabel, requiredPosition, response, standardAttributesMap, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, uiThemeExpansionToken, value |
从类 org.apache.struts2.components.Component 继承的字段 |
---|
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure |
构造方法摘要 | |
---|---|
TextField(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
方法摘要 | |
---|---|
protected void |
evaluateExtraParams()
|
void |
setColspan(String colspan)
|
void |
setGroupColumns(String groupColumns)
|
void |
setHelpText(String helpText)
|
void |
setInputAppend(String inputAppend)
|
void |
setInputPrepend(String inputPrepend)
|
void |
setLabelCssClass(String labelCssClass)
|
void |
setLabelCssStyle(String labelCssStyle)
|
从类 org.apache.struts2.components.TextField 继承的方法 |
---|
getDefaultTemplate, setMaxlength, setMaxLength, setReadonly, setSize, setType |
从类 org.apache.struts2.components.UIBean 继承的方法 |
---|
addFormParameter, buildTemplateName, copyParams, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getId, getStandardAttributes, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setErrorPosition, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequiredLabel, setRequiredPosition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setUIThemeExpansionToken, setValue |
从类 org.apache.struts2.components.Component 继承的方法 |
---|
addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, setUrlHelper, start, stripExpressionIfAltSyntax, toString, usesBody |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected String colspan
protected String groupColumns
protected String labelCssClass
protected String labelCssStyle
protected String helpText
protected String inputPrepend
protected String inputAppend
构造方法详细信息 |
---|
public TextField(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
方法详细信息 |
---|
protected void evaluateExtraParams()
org.apache.struts2.components.TextField
中的 evaluateExtraParams
public void setColspan(String colspan)
public void setGroupColumns(String groupColumns)
public void setLabelCssClass(String labelCssClass)
public void setLabelCssStyle(String labelCssStyle)
public void setHelpText(String helpText)
public void setInputPrepend(String inputPrepend)
public void setInputAppend(String inputAppend)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |