public interface AcceptProvider
Modifier and Type | Method and Description |
---|---|
void |
accept(Widget widget,
Point point,
Transferable transferable)
Handles the drop of a transferable.
|
ConnectorState |
isAcceptable(Widget widget,
Point point,
Transferable transferable)
Checks whether a transferable can be dropped on a widget at a specific point.
|
ConnectorState isAcceptable(Widget widget, Point point, Transferable transferable)
widget
- the widget could be droppedpoint
- the drop location in local coordination system of the widgettransferable
- the transferablevoid accept(Widget widget, Point point, Transferable transferable)
widget
- the widget where the transferable is droppedpoint
- the drop location in local coordination system of the widgettransferable
- the transferable