public interface AcceptProvider
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Widget widget,
java.awt.Point point,
java.awt.datatransfer.Transferable transferable) |
Handles the drop of a transferable.
|
ConnectorState |
isAcceptable(Widget widget,
java.awt.Point point,
java.awt.datatransfer.Transferable transferable) |
Checks whether a transferable can be dropped on a widget at a specific point.
|
ConnectorState isAcceptable(Widget widget, java.awt.Point point, java.awt.datatransfer.Transferable transferable)
widget - the widget could be droppedpoint - the drop location in local coordination system of the widgettransferable - the transferablevoid accept(Widget widget, java.awt.Point point, java.awt.datatransfer.Transferable transferable)
widget - the widget where the transferable is droppedpoint - the drop location in local coordination system of the widgettransferable - the transferableBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.