|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DropTarget
Interface representing a drop target.
| Method Summary | |
|---|---|
DropAction |
dragEnter(Component component,
Manifest dragContent,
int supportedDropActions,
DropAction userDropAction)
Called when the mouse first enters a drop target during a drag operation. |
void |
dragExit(Component component)
Called when the mouse leaves a drop target during a drag operation. |
DropAction |
dragMove(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
Called when the mouse is moved while positioned over a drop target during a drag operation. |
DropAction |
drop(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
Called to drop the drag content. |
DropAction |
userDropActionChange(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
Called when the user drop action changes while the mouse is positioned over a drop target during a drag operation. |
| Method Detail |
|---|
DropAction dragEnter(Component component,
Manifest dragContent,
int supportedDropActions,
DropAction userDropAction)
component - dragContent - supportedDropActions - userDropAction -
void dragExit(Component component)
component -
DropAction dragMove(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
component - dragContent - supportedDropActions - x - y - userDropAction -
DropAction userDropActionChange(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
component - dragContent - supportedDropActions - x - y - userDropAction -
DropAction drop(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction)
component - dragContent - supportedDropActions - x - y - userDropAction -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||