Class MouseCursor

java.lang.Object
com.luciad.maps.MouseCursor

public final class MouseCursor extends Object
Represents a mouse cursor in the map API.
  • Field Details

    • DefaultCursor

      public static final MouseCursor DefaultCursor
      Returns the default mouse cursor.
    • Arrow

      public static final MouseCursor Arrow
      Returns the arrow mouse cursor.
    • Cross

      public static final MouseCursor Cross
      Returns the cross mouse cursor.
    • IBeam

      public static final MouseCursor IBeam
      Returns the I-beam mouse cursor, for example sue when editing text.
    • Hand

      public static final MouseCursor Hand
      Returns the hand mouse cursor.
    • SizeAll

      public static final MouseCursor SizeAll
      Returns the size-all mouse cursor.
    • SizeHorizontal

      public static final MouseCursor SizeHorizontal
      Returns the horizontal size mouse cursor.
    • SizeVertical

      public static final MouseCursor SizeVertical
      Returns the horizontal size mouse cursor.
    • SizeNwSe

      public static final MouseCursor SizeNwSe
      Returns the size mouse cursor that follows the north-west to south-east diagonal.
    • SizeNeSw

      public static final MouseCursor SizeNeSw
      Returns the size mouse cursor that follows the north-east to south-west diagonal.
    • None

      public static final MouseCursor None
      Returns a mouse cursor that is not visible.
  • Constructor Details

    • MouseCursor

      public MouseCursor(long id)
      Creates a new mouse cursor with the given id.
      Parameters:
      id - the id of the mouse cursor.
  • Method Details

    • getId

      public long getId()
      The id of the mouse cursor.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object