DropAction |
DropTarget.dragEnter(Component component,
Manifest dragContent,
int supportedDropActions,
DropAction userDropAction) |
Called when the mouse first enters a drop target during a drag operation.
|
DropAction |
DropTarget.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 |
DropTarget.drop(Component component,
Manifest dragContent,
int supportedDropActions,
int x,
int y,
DropAction userDropAction) |
Called to drop the drag content.
|
static DropAction |
DropAction.getDropAction(int nativeDropAction) |
Convert a native drop action to one of these values.
|
static DropAction |
DropAction.getDropAction(java.awt.event.InputEvent event) |
Using the same logic as Keyboard.getDropAction() , determinen the appropriate
action given the current keyboard modifiers (platform-dependent).
|
static DropAction |
Keyboard.getDropAction() |
Returns the current drop action.
|
DropAction |
DropTarget.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.
|
static DropAction |
DropAction.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DropAction[] |
DropAction.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|