public static class ResizeCapability.DragResizeAction extends GenericDragEventHandler.DragAction<ResizeCapability.Resizable<?>>
| Constructor and Description |
|---|
ResizeCapability.DragResizeAction(ResizeCapability.Resizable<?> resizable,
int minWidth,
int minHeight) |
| Modifier and Type | Method and Description |
|---|---|
GenericDragEventHandler.DragAndDropFeature |
getFeature()
Gets the feature associated to this action
|
void |
onDrag(int x,
int y,
int dragStartX,
int dragStartY)
Action to me taken when drag happens
|
void |
onStartDrag()
Action to me taken when drag starts
|
getDraggablepublic ResizeCapability.DragResizeAction(ResizeCapability.Resizable<?> resizable, int minWidth, int minHeight)
movable - minWidth - minHeight - public void onStartDrag()
GenericDragEventHandler.DragActiononStartDrag in class GenericDragEventHandler.DragAction<ResizeCapability.Resizable<?>>public void onDrag(int x,
int y,
int dragStartX,
int dragStartY)
GenericDragEventHandler.DragActiononDrag in class GenericDragEventHandler.DragAction<ResizeCapability.Resizable<?>>public GenericDragEventHandler.DragAndDropFeature getFeature()
GenericDragEventHandler.DragActiongetFeature in class GenericDragEventHandler.DragAction<ResizeCapability.Resizable<?>>Copyright © 2014. All rights reserved.