目次 | 前の項目 | 次の項目 ドラッグ&ドロップ


付録 B: DragSourceContextPeer の定義

この定義は、この仕様の標準的な部分ではありませんが、明確にするために含められています。

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();
}



目次 | 前の項目 | 次の項目
Copyright © 1997 Sun Microsystems, Inc. All Rights Reserved.