| Package | Description |
|---|---|
| java.awt | |
| java.awt.dnd | |
| java.awt.dnd.peer | |
| javax.accessibility | |
| javax.swing | |
| javax.swing.table | |
| javax.swing.text.html |
| Modifier and Type | Field and Description |
|---|---|
protected static Cursor[] |
Cursor.predefined
Deprecated.
As of JDK version 1.7, the
getPredefinedCursor(int)
method should be used instead. |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object.
|
Cursor |
MenuComponent.AccessibleAWTMenuComponent.getCursor()
Gets the
Cursor of this object. |
Cursor |
List.AccessibleAWTList.AccessibleAWTListChild.getCursor()
Get the Cursor of this object.
|
Cursor |
Component.getCursor()
Gets the cursor set in the component.
|
Cursor |
Component.AccessibleAWTComponent.getCursor()
Gets the
Cursor of this object. |
static Cursor |
Cursor.getDefaultCursor()
Return the system default cursor.
|
static Cursor |
Cursor.getPredefinedCursor(int type)
Returns a cursor object with the specified predefined type.
|
static Cursor |
Cursor.getSystemCustomCursor(String name)
Returns a system-specific custom cursor object matching the
specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Window.setCursor(Cursor cursor)
Set the cursor image to a specified cursor.
|
void |
MenuComponent.AccessibleAWTMenuComponent.setCursor(Cursor cursor)
Sets the
Cursor of this object. |
void |
List.AccessibleAWTList.AccessibleAWTListChild.setCursor(Cursor cursor)
Set the Cursor of this object.
|
void |
Component.setCursor(Cursor cursor)
Sets the cursor image to the specified cursor.
|
void |
Component.AccessibleAWTComponent.setCursor(Cursor cursor)
Sets the
Cursor of this object. |
| Modifier and Type | Field and Description |
|---|---|
static Cursor |
DragSource.DefaultCopyDrop
The default
Cursor to use with a copy operation indicating
that a drop is currently allowed. |
static Cursor |
DragSource.DefaultCopyNoDrop
The default
Cursor to use with a copy operation indicating
that a drop is currently not allowed. |
static Cursor |
DragSource.DefaultLinkDrop
The default
Cursor to use with a link operation indicating
that a drop is currently allowed. |
static Cursor |
DragSource.DefaultLinkNoDrop
The default
Cursor to use with a link operation indicating
that a drop is currently not allowed. |
static Cursor |
DragSource.DefaultMoveDrop
The default
Cursor to use with a move operation indicating
that a drop is currently allowed. |
static Cursor |
DragSource.DefaultMoveNoDrop
The default
Cursor to use with a move operation indicating
that a drop is currently not allowed. |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
DragSourceContext.getCursor()
Returns the current drag
Cursor. |
| Modifier and Type | Method and Description |
|---|---|
protected DragSourceContext |
DragSource.createDragSourceContext(DragSourceContextPeer dscp,
DragGestureEvent dgl,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable t,
DragSourceListener dsl)
Creates the
DragSourceContext to handle the current drag
operation. |
void |
DragSourceContext.setCursor(Cursor c)
Sets the cursor for this drag operation to the specified
Cursor. |
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl)
Start the drag given the initial
Cursor to display,
a drag Image, the offset of
the Image,
the Transferable object, and
the DragSourceListener to use. |
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Transferable transferable)
Starts the drag operation given the
Cursor for this drag
operation and the Transferable representing the source data
for this drag operation. |
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl)
Starts the drag given the initial
Cursor to display,
the Transferable object,
and the DragSourceListener to use. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point dragOffset,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial Cursor
to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor
at the instant of the trigger,
the subject data of the drag, and
the DragSourceListener. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor at
the instant of the trigger,
the Transferable subject data
of the drag, the DragSourceListener,
and the FlavorMap. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to
use,
the Transferable subject data
of the drag, and the DragSourceListener. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Transferable subject data
of the drag, the DragSourceListener,
and the FlavorMap. |
| Constructor and Description |
|---|
DragSourceContext(DragSourceContextPeer dscp,
DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point offset,
Transferable t,
DragSourceListener dsl)
Called from
DragSource, this constructor creates a new
DragSourceContext given the
DragSourceContextPeer for this Drag, the
DragGestureEvent that triggered the Drag, the initial
Cursor to use for the Drag, an (optional)
Image to display while the Drag is taking place, the offset
of the Image origin from the hotspot at the instant of the
triggering event, the Transferable subject data, and the
DragSourceListener to use during the Drag and Drop
operation. |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
DragSourceContextPeer.getCursor()
return the current drag cursor
|
| Modifier and Type | Method and Description |
|---|---|
void |
DragSourceContextPeer.setCursor(Cursor c)
set the current drag cursor
|
void |
DragSourceContextPeer.startDrag(DragSourceContext dsc,
Cursor c,
Image dragImage,
Point imageOffset)
start a drag
|
| Modifier and Type | Method and Description |
|---|---|
Cursor |
AccessibleComponent.getCursor()
Gets the Cursor of this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessibleComponent.setCursor(Cursor cursor)
Sets the Cursor of this object.
|
| Modifier and Type | Method and Description |
|---|---|
Cursor |
JTree.AccessibleJTree.AccessibleJTreeNode.getCursor() |
Cursor |
JTable.AccessibleJTable.AccessibleJTableCell.getCursor()
Gets the
Cursor of this object. |
Cursor |
JList.AccessibleJList.AccessibleJListChild.getCursor() |
Cursor |
JInternalFrame.getLastCursor()
Returns the last
Cursor that was set by the
setCursor method that is not a resizable
Cursor. |
| Modifier and Type | Method and Description |
|---|---|
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(Cursor c) |
void |
JTable.AccessibleJTable.AccessibleJTableCell.setCursor(Cursor c)
Sets the
Cursor of this object. |
void |
JList.AccessibleJList.AccessibleJListChild.setCursor(Cursor c) |
void |
JInternalFrame.setCursor(Cursor cursor)
Sets the cursor image to the specified cursor.
|
| Modifier and Type | Method and Description |
|---|---|
Cursor |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getCursor() |
| Modifier and Type | Method and Description |
|---|---|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setCursor(Cursor c) |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
HTMLEditorKit.getDefaultCursor()
Returns the default cursor.
|
Cursor |
HTMLEditorKit.getLinkCursor()
Returns the cursor to use over hyper links.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLEditorKit.setDefaultCursor(Cursor cursor)
Sets the default cursor.
|
void |
HTMLEditorKit.setLinkCursor(Cursor cursor)
Sets the cursor to use over links.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.