Example usage for javafx.scene.input DragEvent getAcceptedTransferMode

List of usage examples for javafx.scene.input DragEvent getAcceptedTransferMode

Introduction

In this page you can find the example usage for javafx.scene.input DragEvent getAcceptedTransferMode.

Prototype

public final TransferMode getAcceptedTransferMode() 

Source Link

Document

Gets transfer mode accepted by potential target.

Usage

From source file:net.rptools.tokentool.controller.TokenTool_Controller.java

@FXML
void tokenImageView_OnDragDone(DragEvent event) {
    if (event.getAcceptedTransferMode() != null)
        updateOverlayTreeViewRecentFolder(true);
}