CONTENTS | PREV | NEXT Drag and Drop


Appendix B : DragSourceContextPeer definition

Although not a normative part of this specification this definition is included for clarity:

public interface DragSourceContextPeer {
 
    void startDrag(DragSourceContext ds,
                   AWTEvent          trigger,
                   Cursor            c, 
                   int               actions
    ) throws InvalidDnDOperationException;
 
 
    Component getComponent();
 
  
    void cancelDrag() throws InvalidDnDOperationException;
 

    Cursor getCursor();
 
 
    void setCursor(Cursor c)
		throws InvalidDnDOperationException;
 
 
    AWTEvent getTrigger();
}



CONTENTS | PREV | NEXT
Copyright © 1997 Sun Microsystems, Inc. All Rights Reserved.