java.awt

Class Cursor

  • java.lang.Object
    • java.awt.Cursor
  • All Implemented Interfaces:
    java.io.Serializable
    public class Cursor extends java.lang.Object implements java.io.Serializable
    A class to encapsulate the bitmap representation of the mouse cursor.
    See Also:
    Component.setCursor(java.awt.Cursor), Serialized Form
    • Fields 
      Modifier and Type Field and Description
      Ordinary member indicator CROSSHAIR_CURSOR Reveal DetailHide Detail
      The crosshair cursor type.
      Ordinary member indicator CUSTOM_CURSOR Reveal DetailHide Detail
      The type associated with all custom cursors.
      Ordinary member indicator DEFAULT_CURSOR Reveal DetailHide Detail
      The default cursor type (gets set if no cursor is defined).
      Ordinary member indicator E_RESIZE_CURSOR Reveal DetailHide Detail
      The east-resize cursor type.
      Ordinary member indicator HAND_CURSOR Reveal DetailHide Detail
      The hand cursor type.
      Ordinary member indicator MOVE_CURSOR Reveal DetailHide Detail
      The move cursor type.
      Ordinary member indicator N_RESIZE_CURSOR Reveal DetailHide Detail
      The north-resize cursor type.
      Ordinary member indicator NE_RESIZE_CURSOR Reveal DetailHide Detail
      The north-east-resize cursor type.
      Ordinary member indicator NW_RESIZE_CURSOR Reveal DetailHide Detail
      The north-west-resize cursor type.
      Ordinary member indicator S_RESIZE_CURSOR Reveal DetailHide Detail
      The south-resize cursor type.
      Ordinary member indicator SE_RESIZE_CURSOR Reveal DetailHide Detail
      The south-east-resize cursor type.
      Ordinary member indicator SW_RESIZE_CURSOR Reveal DetailHide Detail
      The south-west-resize cursor type.
      Ordinary member indicator TEXT_CURSOR Reveal DetailHide Detail
      The text cursor type.
      Ordinary member indicator W_RESIZE_CURSOR Reveal DetailHide Detail
      The west-resize cursor type.
      Ordinary member indicator WAIT_CURSOR Reveal DetailHide Detail
      The wait cursor type.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator getDefaultCursor Reveal DetailHide Detail
      Return the system default cursor.
      Ordinary member indicator getPredefinedCursor Reveal DetailHide Detail
      Returns a cursor object with the specified predefined type.
      Ordinary member indicator getSystemCustomCursor Reveal DetailHide Detail
      Returns a system-specific custom cursor object matching the specified name.
    • Constructors 
      Modifier Constructor and Description
      Ordinary member indicator Cursor Reveal DetailHide Detail
      Creates a new cursor object with the specified type.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator getName Reveal DetailHide Detail
      Returns the name of this cursor.
      Ordinary member indicator getType Reveal DetailHide Detail
      Returns the type for this cursor.
      Overridden member indicator toString Reveal DetailHide Detail
      Returns a string representation of this cursor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge