List of usage examples for javafx.scene.input MouseEvent isControlDown
public final boolean isControlDown()
From source file:view.EditorView.java
@FXML void scrollPaneOnMouseReleased(MouseEvent event) { if (!event.isControlDown() & !unselectingDisabled) { FOKLogger.finest(MainWindow.class.getName(), "Unselected all rooms through clicking the scroll pane"); unselectEverything();/*from ww w . j a va 2 s . co m*/ } unselectingDisabled = false; }