swingwt.awt.dnd
Class DragGestureRecognizer

java.lang.Object
  extended byswingwt.awt.dnd.DragGestureRecognizer

public abstract class DragGestureRecognizer
extends java.lang.Object


Field Summary
protected  Component component
           
protected  DragGestureListener dragGestureListener
           
protected  org.eclipse.swt.dnd.DragSource dragSource
           
protected  java.util.ArrayList events
           
protected  int sourceActions
           
 
Constructor Summary
protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds)
           
protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds, Component c)
           
protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds, Component c, int sa)
           
protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds, Component c, int sa, DragGestureListener dgl)
           
 
Method Summary
 void addDragGestureListener(DragGestureListener dgl)
           
protected  void appendEvent(InputEvent awtie)
           
protected  void fireDragGestureRecognized(int dragAction, Point p)
           
 Component getComponent()
           
 org.eclipse.swt.dnd.DragSource getDragSource()
           
 int getSourceActions()
           
 InputEvent getTriggerEvent()
           
protected abstract  void registerListeners()
           
 void removeDragGestureListener(DragGestureListener dgl)
           
 void resetRecognizer()
           
 void setComponent(Component c)
           
 void setSourceActions(int actions)
           
protected abstract  void unregisterListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dragSource

protected org.eclipse.swt.dnd.DragSource dragSource

component

protected Component component

dragGestureListener

protected transient DragGestureListener dragGestureListener

sourceActions

protected int sourceActions

events

protected java.util.ArrayList events
Constructor Detail

DragGestureRecognizer

protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds,
                                Component c,
                                int sa,
                                DragGestureListener dgl)

DragGestureRecognizer

protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds,
                                Component c,
                                int sa)

DragGestureRecognizer

protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds,
                                Component c)

DragGestureRecognizer

protected DragGestureRecognizer(org.eclipse.swt.dnd.DragSource ds)
Method Detail

registerListeners

protected abstract void registerListeners()

unregisterListeners

protected abstract void unregisterListeners()

getDragSource

public org.eclipse.swt.dnd.DragSource getDragSource()

getComponent

public Component getComponent()

setComponent

public void setComponent(Component c)

getSourceActions

public int getSourceActions()

setSourceActions

public void setSourceActions(int actions)

getTriggerEvent

public InputEvent getTriggerEvent()

resetRecognizer

public void resetRecognizer()

addDragGestureListener

public void addDragGestureListener(DragGestureListener dgl)
                            throws java.util.TooManyListenersException
Throws:
java.util.TooManyListenersException

removeDragGestureListener

public void removeDragGestureListener(DragGestureListener dgl)

fireDragGestureRecognized

protected void fireDragGestureRecognized(int dragAction,
                                         Point p)

appendEvent

protected void appendEvent(InputEvent awtie)