org.eclipse.swt.events
Class DragDetectEvent
java.lang.Object
Event
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.events.MouseEvent
org.eclipse.swt.events.DragDetectEvent
public class DragDetectEvent
- extends MouseEvent
Instances of this class are sent as a result of
a drag gesture.
- Since:
- 1.3
- See Also:
DragDetectListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DRAG_DETECT
public static final int DRAG_DETECT
- See Also:
- Constant Field Values
DragDetectEvent
public DragDetectEvent(Control control)
DragDetectEvent
public DragDetectEvent(Event event)
- Constructs a new instance of this class based on the
information in the given untyped event.
- Parameters:
event
- the untyped event containing the information
dispatchToObserver
protected void dispatchToObserver(java.lang.Object listener)
- Overrides:
dispatchToObserver
in class MouseEvent
allowProcessing
protected boolean allowProcessing()
- Overrides:
allowProcessing
in class MouseEvent
getListenerType
protected java.lang.Class getListenerType()
- Overrides:
getListenerType
in class MouseEvent
hasListener
public static boolean hasListener(Adaptable adaptable)
addListener
public static void addListener(Adaptable adaptable,
DragDetectListener listener)
removeListener
public static void removeListener(Adaptable adaptable,
DragDetectListener listener)
getListeners
public static java.lang.Object[] getListeners(Adaptable adaptable)
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.