src/main/java/org/openjfx/ImageListController.java
private void navigateToDetailOnClick(ImageView imageView, File file) {
        imageView.addEventFilter(MouseEvent.MOUSE_CLICKED, mouseEvent -> {

            if (imageState.isEditing || imageState.isConverting) {
                return;
            }

            setFileToDetailsView(file);
            Router.navigateToDetailView();
        });
    }
/**
     * Navigate to detail view
     *
     * @param imageView
     * @param file
     */
Navigate to detail view
@param imageView
@param file
Navigate to detail view @param imageView @param file
private void navigateToDetailOnClick(ImageView imageView, File file) {
        imageView.addEventFilter(MouseEvent.MOUSE_CLICKED, mouseEvent -> {
            if (imageState.isEditing || imageState.isConverting) {
                return;
            }
            setFileToDetailsView(file);
            Router.navigateToDetailView();
        });
    }
private void navigateToDetailOnClick ( ImageView imageView , File file ) { imageView . addEventFilter ( MouseEvent . MOUSE_CLICKED , mouseEvent -> { if ( imageState . isEditing || imageState . isConverting ) { return ; } setFileToDetailsView ( file ) ; Router . navigateToDetailView ( ) ; } ) ; }
Navigate to detail view
 @param imageView
 @param file
Navigate to detail view @param imageView @param file