gboat2.base.view.components
类 TextField

java.lang.Object
  继承者 org.apache.struts2.components.Component
      继承者 org.apache.struts2.components.UIBean
          继承者 org.apache.struts2.components.TextField
              继承者 gboat2.base.view.components.TextField
直接已知子类:
Spinner

public class TextField
extends org.apache.struts2.components.TextField

创建一个输入框

使用示例:

 <g2:textfield key="user" />
 
 <g2:textfield name="user" label="User Name" />
 

从以下版本开始:
3.0
作者:
何明旺

字段摘要
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
 

字段详细信息

colspan

protected String colspan

groupColumns

protected String groupColumns

labelCssClass

protected String labelCssClass

labelCssStyle

protected String labelCssStyle

helpText

protected String helpText

inputPrepend

protected String inputPrepend

inputAppend

protected String inputAppend
构造方法详细信息

TextField

public TextField(com.opensymphony.xwork2.util.ValueStack stack,
                 javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response)
方法详细信息

evaluateExtraParams

protected void evaluateExtraParams()
覆盖:
org.apache.struts2.components.TextField 中的 evaluateExtraParams

setColspan

public void setColspan(String colspan)

setGroupColumns

public void setGroupColumns(String groupColumns)

setLabelCssClass

public void setLabelCssClass(String labelCssClass)

setLabelCssStyle

public void setLabelCssStyle(String labelCssStyle)

setHelpText

public void setHelpText(String helpText)

setInputPrepend

public void setInputPrepend(String inputPrepend)

setInputAppend

public void setInputAppend(String inputAppend)


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.