Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: datatransfer :: dnd ::
interface XDragSourceContext
Description
The drag source context class is responsible for managing the initiator side
of the Drag and Drop protocol.
In particular, it is responsible for managing event notifications to the
DragSourceListener and providing the Transferable state to enable the data
transfer.
An instance of this class is created as a result of the method XDragSource ::startDrag()
being successfully invoked. This instance is responsible
for tracking the state of the operation on behalf of the drag source and
dispatching state changes to the drag source listener.
See also
XDragSourceContext , XDragSourceListener
Methods' Details
getCurrentCursor
Description
Get the identifier of the currently used cursor.
Returns
The currently selected drag cursor.
setCursor
[oneway] 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
[oneway] 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
[oneway] 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 Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.