gboat2.base.view.components
类 Slider

java.lang.Object
  继承者 org.apache.struts2.components.Component
      继承者 org.apache.struts2.components.UIBean
          继承者 org.apache.struts2.components.ClosingUIBean
              继承者 gboat2.base.view.components.Slider

public class Slider
extends org.apache.struts2.components.ClosingUIBean

创建一个滑动调用来设置数值,详见:Slider Widget

示例代码:

 <g2:slider id="myslider" name="myslider"/>
 
 <g2:slider id="myslider2" name="myslider2" value="40" displayValueElement="displayvaluespan" min="20" max="200" animate="true" step="5" cssStyle="margin: 10px;"/>
 

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

字段摘要
protected  String animate
           
protected  String displayValueElement
           
static String JQUERYACTION
           
protected  String max
           
protected  String min
           
protected  String onChangeTopics
           
protected  String onSlideTopics
           
protected  String onStartTopics
           
protected  String onStopTopics
           
protected  String orientation
           
protected  String range
           
protected  String step
           
static String TEMPLATE
           
static String TEMPLATE_CLOSE
           
 
从类 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
 
构造方法摘要
Slider(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
方法摘要
protected  void evaluateExtraParams()
           
 String getDefaultOpenTemplate()
           
protected  String getDefaultTemplate()
           
 void setAnimate(String animate)
           
 void setDisabled(String disabled)
           
 void setDisplayValueElement(String displayValueElement)
           
 void setMax(String max)
           
 void setMin(String min)
           
 void setOnChangeTopics(String onChangeTopics)
           
 void setOnSlideTopics(String onSlideTopics)
           
 void setOnStartTopics(String onStartTopics)
           
 void setOnStopTopics(String onStopTopics)
           
 void setOrientation(String orientation)
           
 void setRange(String range)
           
 void setStep(String step)
           
 void setValue(String value)
           
 
从类 org.apache.struts2.components.ClosingUIBean 继承的方法
setOpenTemplate, start
 
从类 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
 
从类 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, stripExpressionIfAltSyntax, toString, usesBody
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

JQUERYACTION

public static final String JQUERYACTION
另请参见:
常量字段值

TEMPLATE

public static final String TEMPLATE
另请参见:
常量字段值

TEMPLATE_CLOSE

public static final String TEMPLATE_CLOSE
另请参见:
常量字段值

animate

protected String animate

max

protected String max

min

protected String min

orientation

protected String orientation

range

protected String range

step

protected String step

displayValueElement

protected String displayValueElement

onChangeTopics

protected String onChangeTopics

onSlideTopics

protected String onSlideTopics

onStartTopics

protected String onStartTopics

onStopTopics

protected String onStopTopics
构造方法详细信息

Slider

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

getDefaultOpenTemplate

public String getDefaultOpenTemplate()
指定者:
org.apache.struts2.components.ClosingUIBean 中的 getDefaultOpenTemplate

getDefaultTemplate

protected String getDefaultTemplate()
指定者:
org.apache.struts2.components.UIBean 中的 getDefaultTemplate

evaluateExtraParams

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

setAnimate

public void setAnimate(String animate)

setDisabled

public void setDisabled(String disabled)
覆盖:
org.apache.struts2.components.UIBean 中的 setDisabled

setMax

public void setMax(String max)

setMin

public void setMin(String min)

setOrientation

public void setOrientation(String orientation)

setRange

public void setRange(String range)

setStep

public void setStep(String step)

setValue

public void setValue(String value)
覆盖:
org.apache.struts2.components.UIBean 中的 setValue

setDisplayValueElement

public void setDisplayValueElement(String displayValueElement)

setOnChangeTopics

public void setOnChangeTopics(String onChangeTopics)

setOnSlideTopics

public void setOnSlideTopics(String onSlideTopics)

setOnStartTopics

public void setOnStartTopics(String onStartTopics)

setOnStopTopics

public void setOnStopTopics(String onStopTopics)


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