T
- component that extends Table
public class CubaTableDragSourceExtension<T extends com.vaadin.v7.ui.Table & CubaEnhancedTable>
extends com.vaadin.ui.dnd.DragSourceExtension<T>
Table
.
You can drag rows from table and drop them to another components if they use special extension to handle drop event.
To get dragged item ids in the drop event you get this extension and use getLastDraggedItemIds()
or
getLastSingleDraggedItemId()
.
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Object> |
transferredItems |
Constructor and Description |
---|
CubaTableDragSourceExtension(T target) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getLastDraggedItemIds() |
java.lang.Object |
getLastSingleDraggedItemId() |
addDragEndListener, addDragStartListener, attach, clearDataTransferData, clearDataTransferData, getDataTransferData, getDataTransferData, getDataTransferText, getDragData, getEffectAllowed, getParent, getState, getState, onDragEnd, onDragStart, registerDragSourceRpc, remove, setDataTransferData, setDataTransferText, setDragData, setDragImage, setEffectAllowed, setPayload, setPayload, setPayload
extend, getSupportedParentType, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public CubaTableDragSourceExtension(T target)
public java.util.List<java.lang.Object> getLastDraggedItemIds()
public java.lang.Object getLastSingleDraggedItemId()