Example usage for java.awt.dnd DragSourceContext getTrigger

List of usage examples for java.awt.dnd DragSourceContext getTrigger

Introduction

In this page you can find the example usage for java.awt.dnd DragSourceContext getTrigger.

Prototype


public DragGestureEvent getTrigger() 

Source Link

Document

Returns the DragGestureEvent that initially triggered the drag.

Usage

From source file:Main.java

public void dragEnter(DragSourceDragEvent e) {
    DragSourceContext ctx = e.getDragSourceContext();

    System.out.println(ctx.getTrigger());
}