public class SwingCursor extends Object
| Constructor and Description |
|---|
SwingCursor() |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor(int type)
Get a stored Cursor
|
BufferedImage |
getCursorImageForFX(int type)
Get the cursor image as a buffered image for use in FX code
|
URL |
getURLForImage(String path)
Retrieve the URL of the actual image to use f
|
void |
setIconLocation(String location)
Specify the location to be used for cursor images
|
public Cursor getCursor(int type)
type - in value specifying the cursor typepublic void setIconLocation(String location)
location - String value presenting the directory that holds the cursor imagespublic URL getURLForImage(String path)
path - Preferred name and locationpublic BufferedImage getCursorImageForFX(int type)
type - int value representing the cursor typeCopyright © 2017. All rights reserved.