The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

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


Methods' Summary
addDragGestureListener Registers a new XDragGestureListener.  
removeDragGestureListener Unregisters the specified XDragGestureListener.  
resetRecognizer Reset the recognizer. If it is currently recognizing a gesture, ignore it.  
Methods' Details
addDragGestureListener
[oneway] void
addDragGestureListener( [in] XDragGestureListener  dgl );

Description
Registers a new XDragGestureListener.
Parameter dgl
The XDragGestureListener to register with this XDragGestureRecognizer.
removeDragGestureListener
[oneway] void
removeDragGestureListener( [in] XDragGestureListener  dgl );

Description
Unregisters the specified XDragGestureListener.
Parameter dgl
The XDragGestureListener to register with this XDragGestureRecognizer.
resetRecognizer
void
resetRecognizer();

Description
Reset the recognizer. If it is currently recognizing a gesture, ignore it.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.