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
作者:
何明旺

字段摘要
protected  String addClasses
           
protected  String appendTo
           
protected  String axis
           
protected  String cancel
           
protected  String connectToSortable
           
protected  String containment
           
protected  String cursor
           
protected  String cursorAt
           
protected  String delay
           
protected  String disabled
           
protected  String distance
           
protected  String grid
           
protected  String handle
           
protected  String helper
           
protected  String iframeFix
           
protected  String onDragTopics
           
protected  String onStartTopics
           
protected  String onStopTopics
           
protected  String opacity
           
protected  String refreshPositions
           
protected  String revert
           
protected  String revertDuration
           
protected  String scope
           
protected  String scroll
           
protected  String scrollSensitivity
           
protected  String scrollSpeed
           
protected  String snap
           
protected  String snapMode
           
protected  String snapTolerance
           
protected  String stack
           
static String TEMPLATE
           
protected  String zIndex
           
 
从类 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)
           
 
方法摘要
 void evaluateExtraParams()
           
protected  String getDefaultTemplate()
           
 void setAddClasses(String addClasses)
           
 void setAppendTo(String appendTo)
           
 void setAxis(String axis)
           
 void setCancel(String cancel)
           
 void setConnectToSortable(String connectToSortable)
           
 void setContainment(String containment)
           
 void setCursor(String cursor)
           
 void setCursorAt(String cursorAt)
           
 void setDelay(String delay)
           
 void setDisabled(String disabled)
           
 void setDistance(String distance)
           
 void setGrid(String grid)
           
 void setHandle(String handle)
           
 void setHelper(String helper)
           
 void setIframeFix(String iframeFix)
           
 void setOnDragTopics(String onDragTopics)
           
 void setOnStartTopics(String onStartTopics)
           
 void setOnStopTopics(String onStopTopics)
           
 void setOpacity(String opacity)
           
 void setRefreshPositions(String refreshPositions)
           
 void setRevert(String revert)
           
 void setRevertDuration(String revertDuration)
           
 void setScope(String scope)
           
 void setScroll(String scroll)
           
 void setScrollSensitivity(String scrollSensitivity)
           
 void setScrollSpeed(String scrollSpeed)
           
 void setSnap(String snap)
           
 void setSnapMode(String snapMode)
           
 void setSnapTolerance(String snapTolerance)
           
 void setStack(String stack)
           
 void setZIndex(String zIndex)
           
 
从类 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.