LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface is implemented by a view or window that supports drag operations. More...
import"XDragGestureRecognizer.idl";
Public Member Functions | |
void | addDragGestureListener ([in] XDragGestureListener dgl) |
Registers a new XDragGestureListener. More... | |
void | removeDragGestureListener ([in] XDragGestureListener dgl) |
Unregisters the specified XDragGestureListener. More... | |
void | resetRecognizer () |
Reset the recognizer. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
This interface is implemented by a view or window that supports drag operations.
Different to Java, the association between view and interface is fixed and cannot be changed. Otherwise, the AWT messaging would have to be implemented for any window supporting Drag and Drop operations, which would be a performance issue.
void addDragGestureListener | ( | [in] XDragGestureListener | dgl | ) |
Registers a new XDragGestureListener.
dgl | The XDragGestureListener to register with this XDragGestureRecognizer. |
void removeDragGestureListener | ( | [in] XDragGestureListener | dgl | ) |
Unregisters the specified XDragGestureListener.
dgl | The XDragGestureListener to register with this XDragGestureRecognizer. |
void resetRecognizer | ( | ) |
Reset the recognizer.
If it is currently recognizing a gesture, ignore it.