Uses of Class
java.awt.Cursor
-
Packages that use Cursor Package Description com.sun.java.accessibility.util Provides a collection of interfaces and classes that compose the Java Accessibility Utilities.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors. -
-
Uses of Cursor in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util that return Cursor Modifier and Type Method Description CursorTranslator. getCursor()Get theCursorof this object.Methods in com.sun.java.accessibility.util with parameters of type Cursor Modifier and Type Method Description voidTranslator. setCursor(Cursor c)Set theCursorof this object. -
Uses of Cursor in java.awt
Fields in java.awt declared as Cursor Modifier and Type Field Description protected static Cursor[]Cursor. predefinedDeprecated.As of JDK version 1.7, thegetPredefinedCursor(int)method should be used instead.Methods in java.awt that return Cursor Modifier and Type Method Description CursorToolkit. createCustomCursor(Image cursor, Point hotSpot, String name)Creates a new custom cursor object.CursorComponent.AccessibleAWTComponent. getCursor()Gets theCursorof this object.CursorComponent. getCursor()Gets the cursor set in the component.CursorList.AccessibleAWTList.AccessibleAWTListChild. getCursor()Get the Cursor of this object.CursorMenuComponent.AccessibleAWTMenuComponent. getCursor()Gets theCursorof this object.static CursorCursor. getDefaultCursor()Return the system default cursor.static CursorCursor. getPredefinedCursor(int type)Returns a cursor object with the specified predefined type.static CursorCursor. getSystemCustomCursor(String name)Returns a system-specific custom cursor object matching the specified name.Methods in java.awt with parameters of type Cursor Modifier and Type Method Description voidComponent.AccessibleAWTComponent. setCursor(Cursor cursor)Sets theCursorof this object.voidComponent. setCursor(Cursor cursor)Sets the cursor image to the specified cursor.voidList.AccessibleAWTList.AccessibleAWTListChild. setCursor(Cursor cursor)Set the Cursor of this object.voidMenuComponent.AccessibleAWTMenuComponent. setCursor(Cursor cursor)Sets theCursorof this object.voidWindow. setCursor(Cursor cursor)Set the cursor image to a specified cursor. -
Uses of Cursor in java.awt.dnd
Fields in java.awt.dnd declared as Cursor Modifier and Type Field Description static CursorDragSource. DefaultCopyDropThe defaultCursorto use with a copy operation indicating that a drop is currently allowed.static CursorDragSource. DefaultCopyNoDropThe defaultCursorto use with a copy operation indicating that a drop is currently not allowed.static CursorDragSource. DefaultLinkDropThe defaultCursorto use with a link operation indicating that a drop is currently allowed.static CursorDragSource. DefaultLinkNoDropThe defaultCursorto use with a link operation indicating that a drop is currently not allowed.static CursorDragSource. DefaultMoveDropThe defaultCursorto use with a move operation indicating that a drop is currently allowed.static CursorDragSource. DefaultMoveNoDropThe defaultCursorto use with a move operation indicating that a drop is currently not allowed.Methods in java.awt.dnd that return Cursor Modifier and Type Method Description CursorDragSourceContext. getCursor()Returns the current custom dragCursor.Methods in java.awt.dnd with parameters of type Cursor Modifier and Type Method Description protected DragSourceContextDragSource. createDragSourceContext(DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)Creates theDragSourceContextto handle the current drag operation.voidDragSourceContext. setCursor(Cursor c)Sets the custom cursor for this drag operation to the specifiedCursor.voidDragGestureEvent. startDrag(Cursor dragCursor, Transferable transferable)Starts the drag operation given theCursorfor this drag operation and theTransferablerepresenting the source data for this drag operation.voidDragGestureEvent. startDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl)Starts the drag given the initialCursorto display, theTransferableobject, and theDragSourceListenerto use.voidDragGestureEvent. startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)Start the drag given the initialCursorto display, a dragImage, the offset of theImage, theTransferableobject, and theDragSourceListenerto use.voidDragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl)Start a drag, given theDragGestureEventthat initiated the drag, the initialCursorto use, theTransferablesubject data of the drag, and theDragSourceListener.voidDragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)Start a drag, given theDragGestureEventthat initiated the drag, the initialCursorto use, theTransferablesubject data of the drag, theDragSourceListener, and theFlavorMap.voidDragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl)Start a drag, given theDragGestureEventthat initiated the drag, the initialCursorto use, theImageto drag, the offset of theImageorigin from the hotspot of theCursorat the instant of the trigger, the subject data of the drag, and theDragSourceListener.voidDragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)Start a drag, given theDragGestureEventthat initiated the drag, the initialCursorto use, theImageto drag, the offset of theImageorigin from the hotspot of theCursorat the instant of the trigger, theTransferablesubject data of the drag, theDragSourceListener, and theFlavorMap.Constructors in java.awt.dnd with parameters of type Cursor Constructor Description DragSourceContext(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point offset, Transferable t, DragSourceListener dsl)Called fromDragSource, this constructor creates a newDragSourceContextgiven theDragSourceContextPeerfor this Drag, theDragGestureEventthat triggered the Drag, the initialCursorto use for the Drag, an (optional)Imageto display while the Drag is taking place, the offset of theImageorigin from the hotspot at the instant of the triggering event, theTransferablesubject data, and theDragSourceListenerto use during the Drag and Drop operation. -
Uses of Cursor in javax.accessibility
Methods in javax.accessibility that return Cursor Modifier and Type Method Description CursorAccessibleComponent. getCursor()Gets the cursor of this object.Methods in javax.accessibility with parameters of type Cursor Modifier and Type Method Description voidAccessibleComponent. setCursor(Cursor cursor)Sets the cursor of this object. -
Uses of Cursor in javax.swing
Methods in javax.swing that return Cursor Modifier and Type Method Description CursorJTable.AccessibleJTable.AccessibleJTableCell. getCursor()Gets theCursorof this object.CursorJInternalFrame. getLastCursor()Returns the lastCursorthat was set by thesetCursormethod that is not a resizableCursor.Methods in javax.swing with parameters of type Cursor Modifier and Type Method Description voidJInternalFrame. setCursor(Cursor cursor)Sets the cursor image to the specified cursor.voidJTable.AccessibleJTable.AccessibleJTableCell. setCursor(Cursor c)Sets theCursorof this object. -
Uses of Cursor in javax.swing.text.html
Methods in javax.swing.text.html that return Cursor Modifier and Type Method Description CursorHTMLEditorKit. getDefaultCursor()Returns the default cursor.CursorHTMLEditorKit. getLinkCursor()Returns the cursor to use over hyper links.Methods in javax.swing.text.html with parameters of type Cursor Modifier and Type Method Description voidHTMLEditorKit. setDefaultCursor(Cursor cursor)Sets the default cursor.voidHTMLEditorKit. setLinkCursor(Cursor cursor)Sets the cursor to use over links.
-