LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XDragGestureRecognizer Interface Referencepublished

This interface is implemented by a view or window that supports drag operations. More...

import"XDragGestureRecognizer.idl";

Inheritance diagram for XDragGestureRecognizer:
XInterface

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...
 

Detailed Description

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.

Member Function Documentation

◆ addDragGestureListener()

void addDragGestureListener ( [in] XDragGestureListener  dgl)

Registers a new XDragGestureListener.

Parameters
dglThe XDragGestureListener to register with this XDragGestureRecognizer.

◆ removeDragGestureListener()

void removeDragGestureListener ( [in] XDragGestureListener  dgl)

Unregisters the specified XDragGestureListener.

Parameters
dglThe XDragGestureListener to register with this XDragGestureRecognizer.

◆ resetRecognizer()

void resetRecognizer ( )

Reset the recognizer.

If it is currently recognizing a gesture, ignore it.


The documentation for this interface was generated from the following file: