Class Cursor

java.lang.Object
com.spinyowl.legui.cursor.Cursor

public class Cursor extends Object
  • Field Details

    • ARROW

      public static final Cursor ARROW
    • H_RESIZE

      public static final Cursor H_RESIZE
    • V_RESIZE

      public static final Cursor V_RESIZE
    • CROSSHAIR

      public static final Cursor CROSSHAIR
    • HAND

      public static final Cursor HAND
    • IBEAM

      public static final Cursor IBEAM
  • Constructor Details

    • Cursor

      public Cursor(long imageReference, int xHot, int yHot)
      Parameters:
      imageReference - the desired cursor image
      xHot - the desired x-coordinate, in pixels, of the cursor hotspot
      yHot - the desired y-coordinate, in pixels, of the cursor hotspot
  • Method Details

    • getImageReference

      public long getImageReference()
    • getxHot

      public int getxHot()
    • getyHot

      public int getyHot()