|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object org.apache.struts2.components.Component org.apache.struts2.components.UIBean org.apache.struts2.components.TextField gboat2.base.view.components.TextField gboat2.base.view.components.Spinner
public class Spinner
创建一个微调组件(spinner),用于处理各种数字输入。它允许用户直接输入一个值,或通过键盘、鼠标、滚轮微调改变一个已有的值。
详见 jQuery UI Spinner
一个最简单的示例:
<g2:spinner id="spinner1" name="spinner1"/>
示例2: max=50 and step=2.
<g2:spinner id="spinner2" name="spinner2" value="25" min="5" max="50" step="2"/>
字段摘要 | |
---|---|
protected String |
culture
|
protected String |
icons
|
protected String |
incremental
|
static String |
JQUERYACTION
|
protected String |
max
|
protected String |
min
|
protected String |
mouseWheel
|
protected String |
numberFormat
|
protected String |
onChangeTopics
|
protected String |
onSpinTopics
|
protected String |
onStartTopics
|
protected String |
onStopTopics
|
protected String |
page
|
protected String |
step
|
static String |
TEMPLATE
|
从类 gboat2.base.view.components.TextField 继承的字段 |
---|
colspan, groupColumns, helpText, inputAppend, inputPrepend, labelCssClass, labelCssStyle |
从类 org.apache.struts2.components.TextField 继承的字段 |
---|
maxlength, readonly, size, 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 |
构造方法摘要 | |
---|---|
Spinner(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
方法摘要 | |
---|---|
void |
evaluateExtraParams()
|
protected String |
getDefaultTemplate()
|
void |
setCulture(String culture)
|
void |
setDisabled(String disabled)
|
void |
setIcons(String icons)
|
void |
setIncremental(String incremental)
|
void |
setMax(String max)
|
void |
setMin(String min)
|
void |
setMouseWheel(String mouseWheel)
|
void |
setNumberFormat(String numberFormat)
|
void |
setOnChangeTopics(String onChangeTopics)
|
void |
setOnSpinTopics(String onSpinTopics)
|
void |
setOnStartTopics(String onStartTopics)
|
void |
setOnStopTopics(String onStopTopics)
|
void |
setPage(String page)
|
void |
setStep(String step)
|
从类 gboat2.base.view.components.TextField 继承的方法 |
---|
setColspan, setGroupColumns, setHelpText, setInputAppend, setInputPrepend, setLabelCssClass, setLabelCssStyle |
从类 org.apache.struts2.components.TextField 继承的方法 |
---|
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, 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 |
字段详细信息 |
---|
public static final String TEMPLATE
public static final String JQUERYACTION
protected String culture
protected String icons
protected String incremental
protected String max
protected String min
protected String numberFormat
protected String page
protected String step
protected String mouseWheel
protected String onChangeTopics
protected String onSpinTopics
protected String onStartTopics
protected String onStopTopics
构造方法详细信息 |
---|
public Spinner(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
方法详细信息 |
---|
protected String getDefaultTemplate()
org.apache.struts2.components.TextField
中的 getDefaultTemplate
public void evaluateExtraParams()
TextField
中的 evaluateExtraParams
public void setCulture(String culture)
public void setDisabled(String disabled)
org.apache.struts2.components.UIBean
中的 setDisabled
public void setIcons(String icons)
public void setIncremental(String incremental)
public void setMax(String max)
public void setMin(String min)
public void setNumberFormat(String numberFormat)
public void setPage(String page)
public void setStep(String step)
public void setMouseWheel(String mouseWheel)
public void setOnChangeTopics(String onChangeTopics)
public void setOnSpinTopics(String onSpinTopics)
public void setOnStartTopics(String onStartTopics)
public void setOnStopTopics(String onStopTopics)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |