DragDetectEvent

Instances of this class are sent as a result of a drag gesture.

@see DragDetectListener @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

@since 3.3

final
class DragDetectEvent : MouseEvent {}

Constructors

this
this(Event e)

Constructs a new instance of this class based on the information in the given untyped event.

Inherited Members

From MouseEvent

button
int button;

the button that was pressed or released; 1 for the first button, 2 for the second button, and 3 for the third button, etc.

stateMask
int stateMask;

the state of the keyboard modifier keys at the time the event was generated

x
int x;

the widget-relative, x coordinate of the pointer at the time the mouse button was pressed or released

y
int y;

the widget-relative, y coordinate of the pointer at the time the mouse button was pressed or released

count
int count;

the number times the mouse has been clicked, as defined by the operating system; 1 for the first click, 2 for the second click and so on.

toString
String toString()

Returns a string containing a concise, human-readable description of the receiver.

Meta