Package snap.view

Class Cursor

java.lang.Object
snap.view.Cursor

public class Cursor extends Object
A class to represent a cursor.
  • Field Details

    • DEFAULT

      public static final Cursor DEFAULT
    • CROSSHAIR

      public static final Cursor CROSSHAIR
    • HAND

      public static final Cursor HAND
    • MOVE

      public static final Cursor MOVE
    • TEXT

      public static final Cursor TEXT
    • NONE

      public static final Cursor NONE
    • N_RESIZE

      public static final Cursor N_RESIZE
    • S_RESIZE

      public static final Cursor S_RESIZE
    • E_RESIZE

      public static final Cursor E_RESIZE
    • W_RESIZE

      public static final Cursor W_RESIZE
    • NE_RESIZE

      public static final Cursor NE_RESIZE
    • NW_RESIZE

      public static final Cursor NW_RESIZE
    • SE_RESIZE

      public static final Cursor SE_RESIZE
    • SW_RESIZE

      public static final Cursor SW_RESIZE
  • Constructor Details

    • Cursor

      protected Cursor(String aName)
      Creates a new Cursor.
  • Method Details

    • getName

      public String getName()
      Returns the cursor name.
    • toString

      public String toString()
      Standard toString implementation.
      Overrides:
      toString in class Object
    • get

      public static Cursor get(Pos aHandle)
      Returns the cursor for given position.