All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.examples.viewer.gui.javafx.JavaFXCursor Maven / Gradle / Ivy

There is a newer version: 7.15.25
Show newest version
/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * JavaFXCursor.java
 * ---------------
 */

package org.jpedal.examples.viewer.gui.javafx;

import java.net.URL;

import javafx.scene.Cursor;
import javafx.scene.image.Image;

/**
 * This class controls everything todo with JavaFX Cursor objects
 */
public class JavaFXCursor {

    /**
     * getCursor is unsupported in ViewerFX
     * @param type type
     * @return Cursor
     */
    public static Cursor getCursor(final int type) {
        System.out.println("Method getCursor in JavaFXCursor.java is not implemented for JavaFX " + type);
        return null;
    }

    /**
     * getURLForImage is unsupported in ViewerFX
     * @param path path
     * @return URL
     */
    public static URL getURLForImage(final String path) {
        System.out.println("Method getURLForImage in JavaFXCursor.java is not implemented for JavaFX " + path);
        return null;
    }

    /**
     * getCursorImageForFX is unsupported in ViewerFX
     * @param type type
     * @return Image
     */
    public static Image getCursorImageForFX(final int type) {
        System.out.println("Method getURLForImage in JavaFXCursor.java is not implemented for JavaFX " + type);
        return null;
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy