<html> <head> <title>Struct DragGestureEvent</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="DragGestureEvent-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">datatransfer</a> :: <a href="module-ix.html" class="namechain">dnd</a> :: </p> </td> </tr> <tr> <td class="title">struct DragGestureEvent</td> </tr> <tr> <td><dl> <dt><b>Base Hierarchy</b></dt> <dd><pre style="font-family:monospace;"><strong>DragGestureEvent</strong> ┗ ::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/EventObject.html">EventObject</a> </pre></dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>A DragGestureEvent is passed to the method <a href="XDragGestureListener.html">XDragGestureListener</a>::<a href="XDragGestureListener.html#dragGestureRecognized">dragGestureRecognized()</a> when a particular <a href="XDragGestureRecognizer.html">XDragGestureRecognizer</a> detects that a platform dependent drag initiating gesture has occurred on the component that it is tracking. </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#DragAction">DragAction</a></td> <td class="imsum_right">The action selected by the user. </td> </tr> <tr> <td class="imsum_left"><a href="#DragOriginX">DragOriginX</a></td> <td class="imsum_right">The x coordinate where the drag originated in component coordinates. </td> </tr> <tr> <td class="imsum_left"><a href="#DragOriginY">DragOriginY</a></td> <td class="imsum_right">The y coordinate where the drag originated in component coordinates. </td> </tr> <tr> <td class="imsum_left"><a href="#DragSource">DragSource</a></td> <td class="imsum_right">The DragSource associated with this drag action. </td> </tr> <tr> <td class="imsum_left"><a href="#Event">Event</a></td> <td class="imsum_right">The last event comprising the gesture. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="DragAction" class="membertitle">DragAction</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>byte <b>DragAction</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The action selected by the user. </dd> <dd><p>Different constants may be combined using a logical OR.</p> It's further possible to combine the ACTION_DEFAULT with one of the other actions defined in <a href="DNDConstants.html">DNDConstants</a>. This means the user did not press any key during the Drag and Drop operation and the action that was combined with ACTION_DEFAULT is the system default action.</p> </dd> <dt><b>See also</b></dt> <dd><a href="DNDConstants.html">DNDConstants</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DragOriginX" class="membertitle">DragOriginX</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>DragOriginX</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The x coordinate where the drag originated in component coordinates. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DragOriginY" class="membertitle">DragOriginY</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>DragOriginY</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The y coordinate where the drag originated in component coordinates. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DragSource" class="membertitle">DragSource</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="XDragSource.html">XDragSource</a> <b>DragSource</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The DragSource associated with this drag action. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Event" class="membertitle">Event</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>any <b>Event</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The last event comprising the gesture. </dd> <dd><p>The initial trigger event will presumably be a ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/MouseEvent.html">MouseEvent</a> event. If it is not, the implementation should either react accordingly or presume that the left mouse button was clicked. </p> </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>