Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.Cursor

Packages that use Cursor
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.table Provides classes and interfaces for dealing with java.awt.swing.JTable. 
 

Uses of Cursor in java.awt
 

Fields in java.awt declared as Cursor
protected static Cursor[] Cursor.predefined
           
 

Methods in java.awt that return Cursor
 Cursor Component.getCursor()
          Gets the cursor set in the component.
static Cursor Cursor.getPredefinedCursor(int type)
          Returns a cursor object with the specified predefined type.
static Cursor Cursor.getSystemCustomCursor(String name)
           
static Cursor Cursor.getDefaultCursor()
          Return the system default cursor.
 Cursor Toolkit.createCustomCursor(Image cursor, Point hotSpot, String name)
          Creates a new custom cursor object.
 

Methods in java.awt with parameters of type Cursor
 void Component.setCursor(Cursor cursor)
          Sets the cursor image to the specified cursor.
 void Container.setCursor(Cursor cursor)
           
 void Window.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
static Cursor DragSource.DefaultCopyDrop
          The default Cursor to use with a copy operation indicating that a drop is currently allowed.
static Cursor DragSource.DefaultMoveDrop
          The default Cursor to use with a move operation indicating that a drop is currently allowed.
static Cursor DragSource.DefaultLinkDrop
          The default Cursor to use with a link 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.DefaultMoveNoDrop
          The default Cursor to use with a move operation indicating that a drop is currently not allowed.
static Cursor DragSource.DefaultLinkNoDrop
          The default Cursor to use with a link operation indicating that a drop is currently not allowed.
 

Methods in java.awt.dnd that return Cursor
 Cursor DragSourceContext.getCursor()
          This method returns the current drag Cursor.
 

Methods in java.awt.dnd with parameters of type Cursor
 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, 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.
 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, 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.
protected  DragSourceContext DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)
          Create the DragSourceContext to handle this drag.
 void DragGestureEvent.startDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
          Start the drag given the initial Cursor to display, the Transferable object, and the DragSourceListener to use.
 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 DragSourceContext.setCursor(Cursor c)
          This method sets the current drag Cursor.
 

Constructors in java.awt.dnd with parameters of type Cursor
DragSourceContext.DragSourceContext(java.awt.dnd.peer.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.
 

Uses of Cursor in javax.accessibility
 

Methods in javax.accessibility that return Cursor
 Cursor AccessibleComponent.getCursor()
          Get the Cursor of this object.
 

Methods in javax.accessibility with parameters of type Cursor
 void AccessibleComponent.setCursor(Cursor cursor)
          Set the Cursor of this object.
 

Uses of Cursor in javax.swing
 

Methods in javax.swing that return Cursor
 Cursor JComponent.AccessibleJComponent.getCursor()
          Get the Cursor of this object.
 Cursor JTree.AccessibleJTree.AccessibleJTreeNode.getCursor()
           
 Cursor JApplet.AccessibleJApplet.getCursor()
          Get the Cursor of this object.
 Cursor JWindow.AccessibleJWindow.getCursor()
          Get the Cursor of this object.
 Cursor Box.Filler.AccessibleBoxFiller.getCursor()
          Gets the Cursor of this object.
 Cursor Box.AccessibleBox.getCursor()
          Gets the Cursor of this object.
 Cursor JDialog.AccessibleJDialog.getCursor()
          Get the Cursor of this object.
 Cursor CellRendererPane.AccessibleCellRendererPane.getCursor()
          Get the Cursor of this object.
 Cursor JTable.AccessibleJTable.AccessibleJTableCell.getCursor()
          Get the Cursor of this object.
 Cursor JFrame.AccessibleJFrame.getCursor()
          Get the Cursor of this object.
 Cursor JList.AccessibleJList.AccessibleJListChild.getCursor()
           
 

Methods in javax.swing with parameters of type Cursor
 void JComponent.AccessibleJComponent.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void JTree.AccessibleJTree.AccessibleJTreeNode.setCursor(Cursor c)
           
 void JApplet.AccessibleJApplet.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void JWindow.AccessibleJWindow.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void Box.Filler.AccessibleBoxFiller.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void Box.AccessibleBox.setCursor(Cursor cursor)
          Sets the Cursor of this object.
 void JDialog.AccessibleJDialog.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void CellRendererPane.AccessibleCellRendererPane.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void JTable.AccessibleJTable.AccessibleJTableCell.setCursor(Cursor c)
          Set the Cursor of this object.
 void JFrame.AccessibleJFrame.setCursor(Cursor cursor)
          Set the Cursor of this object.
 void JList.AccessibleJList.AccessibleJListChild.setCursor(Cursor c)
           
 

Uses of Cursor in javax.swing.table
 

Methods in javax.swing.table that return Cursor
 Cursor JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getCursor()
           
 

Methods in javax.swing.table with parameters of type Cursor
 void JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setCursor(Cursor c)
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.