Example usage for java.awt.dnd DragSourceDragEvent getTargetActions

List of usage examples for java.awt.dnd DragSourceDragEvent getTargetActions

Introduction

In this page you can find the example usage for java.awt.dnd DragSourceDragEvent getTargetActions.

Prototype

public int getTargetActions() 

Source Link

Document

This method returns the target drop action.

Usage

From source file:TreeDragTest.java

public void dropActionChanged(DragSourceDragEvent dsde) {
    System.out.println("Action: " + dsde.getDropAction());
    System.out.println("Target Action: " + dsde.getTargetActions());
    System.out.println("User Action: " + dsde.getUserAction());
}