The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.dnd.DragSourceContext
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.