|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.dnd.core.client.DropTarget
com.sencha.gxt.dnd.core.client.GridDropTarget<M>
M - the model typepublic class GridDropTarget<M>
Enables a Grid to act as the target of a drag and drop operation.
#setFeedback(Feedback) to specify whether to allow inserting
items between rows, appending items to the end, or both (defaults to
DND.Feedback.BOTH).
Use #setOperation(Operation) to specify whether to move items or copy
them (defaults to DND.Operation.MOVE).
| Constructor Summary | |
|---|---|
GridDropTarget(Grid<M> grid)
Creates a drop target for the specified grid. |
|
| Method Summary | |
|---|---|
Grid<M> |
getGrid()
Returns the grid associated with this drop target. |
| Methods inherited from class com.sencha.gxt.dnd.core.client.DropTarget |
|---|
addDragCancelHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDropHandler, disable, enable, getFeedback, getGroup, getOperation, getOverStyle, getWidget, isAllowSelfAsSource, isEnabled, release, setAllowSelfAsSource, setFeedback, setGroup, setOperation, setOverStyle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridDropTarget(Grid<M> grid)
grid - the grid to enable as a drop target| Method Detail |
|---|
public Grid<M> getGrid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||