gboat2.base.view.components
类 Draggable
java.lang.Object
org.apache.struts2.components.Component
org.apache.struts2.components.UIBean
gboat2.base.view.components.Draggable
public class Draggable
- extends org.apache.struts2.components.UIBean
让被选择元素可以被鼠标拖动,详见 jQuery UI Draggable plugin。
如果你想把元素拖放到另一个元素内部,请参考 Droppable
,该组件为被拖动元素提供了一个目标容器。
- 从以下版本开始:
- 3.0
- 作者:
- 何明旺
从类 org.apache.struts2.components.UIBean 继承的字段 |
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, 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, throwExceptionOnELFailure |
构造方法摘要 |
Draggable(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
从类 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 |
TEMPLATE
public static final String TEMPLATE
- 另请参见:
- 常量字段值
addClasses
protected String addClasses
appendTo
protected String appendTo
axis
protected String axis
cancel
protected String cancel
connectToSortable
protected String connectToSortable
containment
protected String containment
cursor
protected String cursor
cursorAt
protected String cursorAt
delay
protected String delay
disabled
protected String disabled
distance
protected String distance
grid
protected String grid
handle
protected String handle
helper
protected String helper
iframeFix
protected String iframeFix
opacity
protected String opacity
refreshPositions
protected String refreshPositions
revert
protected String revert
revertDuration
protected String revertDuration
scope
protected String scope
scroll
protected String scroll
scrollSensitivity
protected String scrollSensitivity
scrollSpeed
protected String scrollSpeed
snap
protected String snap
snapMode
protected String snapMode
snapTolerance
protected String snapTolerance
stack
protected String stack
zIndex
protected String zIndex
onDragTopics
protected String onDragTopics
onStartTopics
protected String onStartTopics
onStopTopics
protected String onStopTopics
Draggable
public Draggable(com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
getDefaultTemplate
protected String getDefaultTemplate()
- 指定者:
- 类
org.apache.struts2.components.UIBean
中的 getDefaultTemplate
evaluateExtraParams
public void evaluateExtraParams()
- 覆盖:
- 类
org.apache.struts2.components.UIBean
中的 evaluateExtraParams
setAddClasses
public void setAddClasses(String addClasses)
setAppendTo
public void setAppendTo(String appendTo)
setAxis
public void setAxis(String axis)
setCancel
public void setCancel(String cancel)
setConnectToSortable
public void setConnectToSortable(String connectToSortable)
setContainment
public void setContainment(String containment)
setCursor
public void setCursor(String cursor)
setCursorAt
public void setCursorAt(String cursorAt)
setDelay
public void setDelay(String delay)
setDisabled
public void setDisabled(String disabled)
- 覆盖:
- 类
org.apache.struts2.components.UIBean
中的 setDisabled
setDistance
public void setDistance(String distance)
setGrid
public void setGrid(String grid)
setHandle
public void setHandle(String handle)
setHelper
public void setHelper(String helper)
setIframeFix
public void setIframeFix(String iframeFix)
setOpacity
public void setOpacity(String opacity)
setRefreshPositions
public void setRefreshPositions(String refreshPositions)
setRevert
public void setRevert(String revert)
setRevertDuration
public void setRevertDuration(String revertDuration)
setScope
public void setScope(String scope)
setScroll
public void setScroll(String scroll)
setScrollSensitivity
public void setScrollSensitivity(String scrollSensitivity)
setScrollSpeed
public void setScrollSpeed(String scrollSpeed)
setSnap
public void setSnap(String snap)
setSnapMode
public void setSnapMode(String snapMode)
setSnapTolerance
public void setSnapTolerance(String snapTolerance)
setStack
public void setStack(String stack)
setZIndex
public void setZIndex(String zIndex)
setOnDragTopics
public void setOnDragTopics(String onDragTopics)
setOnStartTopics
public void setOnStartTopics(String onStartTopics)
setOnStopTopics
public void setOnStopTopics(String onStopTopics)
Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.