You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.dnd.DragSourceContext

java.lang.Object
   |
   +----grendel.dnd.DragSourceContext

public class  DragSourceContext
     extends java.lang.Object
{
          // Fields 10
     static final int ACTION_MASK;
     int fActions;
     Component fComponent;
     Cursor fCursor;
     DragSourceListener fListener;
     int fModifiers;
     Cursor fOldCursor;
     DragSource fSource;
     Transferable fTransferable;
     AWTEvent fTrigger;

          // Constructors 1
     public DragSourceContext(DragSource, Component, AWTEvent, Transferable);

          // Methods 18
     public void addDragSourceListener(DragSourceListener) throws TooManyListenersException;
     public void cancelDrag() throws InvalidDnDOperationException;
     public void commitDrop() throws InvalidDnDOperationException;
     public Component getComponent();
     public Cursor getCursor();
     public DragSource getDragSource();
     public int getSourceActions();
     public Transferable getTransferable();
     public AWTEvent getTrigger();
     void notifyDragEnter();
     void notifyDragExit();
     void notifyDragGestureChanged();
     void notifyDragOver();
     void notifyDrop();
     void notifyDropEnd(boolean, boolean);
     public void removeDragSourceListener(DragSourceListener);
     public void setCursor(Cursor) throws InvalidDnDOperationException;
     public void setSourceActions(int) throws InvalidDnDOperationException;

          // Inner Classes 1
     class DragMouseListener
}



Fields


ACTION_MASK

   static final int ACTION_MASK


fSource

   DragSource fSource


fComponent

   Component fComponent


fTrigger

   AWTEvent fTrigger


fTransferable

   Transferable fTransferable


fActions

   int fActions


fModifiers

   int fModifiers


fCursor

   Cursor fCursor


fOldCursor

   Cursor fOldCursor


fListener

   DragSourceListener fListener



Constructors


DragSourceContext

   public DragSourceContext(DragSource aSource, 
                            Component aComponent, 
                            AWTEvent aTrigger, 
                            Transferable aTransferable) 



Methods


getDragSource

   public DragSource getDragSource() 


getComponent

   public Component getComponent() 


getTrigger

   public AWTEvent getTrigger() 


getTransferable

   public Transferable getTransferable() 


cancelDrag

   public void cancelDrag()  throws InvalidDnDOperationException


commitDrop

   public void commitDrop()  throws InvalidDnDOperationException


getSourceActions

   public int getSourceActions() 


setSourceActions

   public void setSourceActions(int actions)  throws InvalidDnDOperationException


setCursor

   public void setCursor(Cursor cursor)  throws InvalidDnDOperationException


getCursor

   public Cursor getCursor() 


addDragSourceListener

   public void addDragSourceListener(DragSourceListener dsl)  throws TooManyListenersException


removeDragSourceListener

   public void removeDragSourceListener(DragSourceListener dsl) 


notifyDragEnter

   void notifyDragEnter() 


notifyDragOver

   void notifyDragOver() 


notifyDragGestureChanged

   void notifyDragGestureChanged() 


notifyDragExit

   void notifyDragExit() 


notifyDrop

   void notifyDrop() 


notifyDropEnd

   void notifyDropEnd(boolean aCancelled, 
                      boolean aSuccessful) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4