|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.widgets.client.util.draganddrop.GenericDragEventHandler.DragAction<D>
public abstract static class GenericDragEventHandler.DragAction<D extends GenericDragEventHandler.Draggable<?>>
The contract to implement the logic associated to a drag action
| Constructor Summary | |
|---|---|
GenericDragEventHandler.DragAction(D draggable)
|
|
| Method Summary | |
|---|---|
D |
getDraggable()
|
abstract GenericDragEventHandler.DragAndDropFeature |
getFeature()
Gets the feature associated to this action |
abstract void |
onDrag(int x,
int y,
int dragStartX,
int dragStartY)
Action to me taken when drag happens |
abstract void |
onStartDrag()
Action to me taken when drag starts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericDragEventHandler.DragAction(D draggable)
draggable - move - | Method Detail |
|---|
public abstract void onStartDrag()
public abstract GenericDragEventHandler.DragAndDropFeature getFeature()
public abstract void onDrag(int x,
int y,
int dragStartX,
int dragStartY)
x - y - dragStartX - dragStartY - public D getDraggable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||