Example usage for javafx.scene Cursor MOVE

List of usage examples for javafx.scene Cursor MOVE

Introduction

In this page you can find the example usage for javafx.scene Cursor MOVE.

Prototype

Cursor MOVE

To view the source code for javafx.scene Cursor MOVE.

Click Source Link

Document

The move cursor type.

Usage

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

@FXML
void compositeTokenPane_MousePressed(MouseEvent event) {
    dragStart.setLocation(event.getX(), event.getY());
    portraitImageStart.setLocation(portraitImageView.getTranslateX(), portraitImageView.getTranslateY());
    portraitImageView.setCursor(Cursor.MOVE);
}