Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt.dnd
Class DragGestureRecognizer  view DragGestureRecognizer download DragGestureRecognizer.java

java.lang.Object
  extended byjava.awt.dnd.DragGestureRecognizer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DragSource.NoDragGestureRecognizer, MouseDragGestureRecognizer

public abstract class DragGestureRecognizer
extends java.lang.Object
implements java.io.Serializable

STUBBED

Since:
1.2

Field Summary
protected  java.awt.Component component
           
protected  DragGestureListener dragGestureListener
           
protected  DragSource dragSource
           
protected  java.util.ArrayList events
           
private static long serialVersionUID
          Compatible with JDK 1.2+.
protected  int sourceActions
           
 
Constructor Summary
protected DragGestureRecognizer(DragSource ds)
           
protected DragGestureRecognizer(DragSource ds, java.awt.Component c)
           
protected DragGestureRecognizer(DragSource ds, java.awt.Component c, int sa)
           
protected DragGestureRecognizer(DragSource ds, java.awt.Component c, int sa, DragGestureListener dgl)
           
 
Method Summary
 void addDragGestureListener(DragGestureListener dgl)
          Register a new DragGestureListener.
protected  void appendEvent(java.awt.event.InputEvent e)
           
protected  void fireDragGestureRecognized(int dragAction, java.awt.Point p)
           
 java.awt.Component getComponent()
           
 DragSource getDragSource()
           
 int getSourceActions()
           
 java.awt.event.InputEvent getTriggerEvent()
           
private  void readObject(java.io.ObjectInputStream s)
           
protected abstract  void registerListeners()
           
 void removeDragGestureListener(DragGestureListener dgl)
           
 void resetRecognizer()
           
 void setComponent(java.awt.Component c)
           
 void setSourceActions(int sa)
           
protected abstract  void unregisterListeners()
           
private  void writeObject(java.io.ObjectOutputStream s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.2+.

See Also:
Constant Field Values

dragSource

protected DragSource dragSource

component

protected java.awt.Component component

dragGestureListener

protected transient DragGestureListener dragGestureListener

sourceActions

protected int sourceActions

events

protected java.util.ArrayList events
Constructor Detail

DragGestureRecognizer

protected DragGestureRecognizer(DragSource ds,
                                java.awt.Component c,
                                int sa,
                                DragGestureListener dgl)

DragGestureRecognizer

protected DragGestureRecognizer(DragSource ds,
                                java.awt.Component c,
                                int sa)

DragGestureRecognizer

protected DragGestureRecognizer(DragSource ds,
                                java.awt.Component c)

DragGestureRecognizer

protected DragGestureRecognizer(DragSource ds)
Method Detail

registerListeners

protected abstract void registerListeners()

unregisterListeners

protected abstract void unregisterListeners()

getDragSource

public DragSource getDragSource()

getComponent

public java.awt.Component getComponent()

setComponent

public void setComponent(java.awt.Component c)

getSourceActions

public int getSourceActions()

setSourceActions

public void setSourceActions(int sa)

getTriggerEvent

public java.awt.event.InputEvent getTriggerEvent()

resetRecognizer

public void resetRecognizer()
                     throws gnu.classpath.NotImplementedException

addDragGestureListener

public void addDragGestureListener(DragGestureListener dgl)
                            throws java.util.TooManyListenersException
Register a new DragGestureListener.


removeDragGestureListener

public void removeDragGestureListener(DragGestureListener dgl)

fireDragGestureRecognized

protected void fireDragGestureRecognized(int dragAction,
                                         java.awt.Point p)
                                  throws gnu.classpath.NotImplementedException

appendEvent

protected void appendEvent(java.awt.event.InputEvent e)

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException