|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AcceptProvider
This interface controls an accept (drag & drop) action.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 transferable
void 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
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||