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.DragSource

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

public class  DragSource
     extends java.lang.Object
{
          // Fields 4
     Cursor fDefaultDragCursor;
     Cursor fDefaultDropCursor;
     Cursor fDefaultNoDropCursor;
     static DragSource fInstance;

          // Constructors 1
     public DragSource();

          // Methods 10
     public Cursor getDefaultDragCursor();
     public Cursor getDefaultDropCursor();
     public Cursor getDefaultNoDropCursor();
     public static DragSource getDragSource(Component);
     public Rectangle getDragThresholdBBox(Component, Point);
     public boolean isDragTrigger(AWTEvent);
     public void setDefaultDragCursor(Cursor);
     public void setDefaultDropCursor(Cursor);
     public void setDefaultNoDropCursor(Cursor);
     public DragSourceContext startDrag(Component, AWTEvent, int, Image, Point, Transferable, DragSourceListener) throws InvalidDnDOperationException;
}



Fields


fInstance

   static DragSource fInstance


fDefaultDragCursor

   Cursor fDefaultDragCursor


fDefaultDropCursor

   Cursor fDefaultDropCursor


fDefaultNoDropCursor

   Cursor fDefaultNoDropCursor



Constructors


DragSource

   public DragSource() 

Default constructor




Methods


getDragSource

   public static DragSource getDragSource(Component c) 


startDrag

   public DragSourceContext startDrag(Component c, 
                                      AWTEvent trigger, 
                                      int actions, 
                                      Image dragImage, 
                                      Point dragImageOffset, 
                                      Transferable transferable, 
                                      DragSourceListener dsl)  throws InvalidDnDOperationException


setDefaultDragCursor

   public void setDefaultDragCursor(Cursor c) 


getDefaultDragCursor

   public Cursor getDefaultDragCursor() 


setDefaultDropCursor

   public void setDefaultDropCursor(Cursor c) 


getDefaultDropCursor

   public Cursor getDefaultDropCursor() 


setDefaultNoDropCursor

   public void setDefaultNoDropCursor(Cursor c) 


getDefaultNoDropCursor

   public Cursor getDefaultNoDropCursor() 


isDragTrigger

   public boolean isDragTrigger(AWTEvent trigger) 


getDragThresholdBBox

   public Rectangle getDragThresholdBBox(Component c, 
                                         Point hotspot) 


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