:: com :: sun :: star :: datatransfer :: dnd ::

interface XDragSourceContext

Methods' Summary
getCurrentCursor Get the identifier of the currently used cursor.  
setCursor This method sets the current drag cursor.  
setImage This method sets the current drag image.  
transferablesFlavorsChanged This method notifies the context that the ::com::sun::star::datatransfer::DataFlavor types of the transferable object have changed.  
Methods' Details
getCurrentCursor
long
getCurrentCursor();

Description
Get the identifier of the currently used cursor.
Returns
The currently selected drag cursor.
setCursor
void
setCursor( [in] long  cursorId );

Description
This method sets the current drag cursor.

This method should only be called to set another cursor than the default one for drag action currently selected by the user.

Invalid cursor identifiers will be ignored.

Parameter cursorId
The identifier the drag source returned when registering the cursor.
setImage
void
setImage( [in] long  imageId );

Description
This method sets the current drag image.
Parameter dragImage
The identifier the drag source returned when registering the image (0 = none). Invalid identifier will be ignored.
transferablesFlavorsChanged
void
transferablesFlavorsChanged();

Description
This method notifies the context that the ::com::sun::star::datatransfer::DataFlavor types of the transferable object have changed.
See also
::com::sun::star::datatransfer::XTransferable
Top of Page