org.jpedal.examples.viewer.gui.javafx.JavaFXCursor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer
/*
* ===========================================
* 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