Java プラットフォーム 1.2

クラス
java.awt.dnd.DragSource の使用

DragSource を使用するパッケージ
java.awt このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 
java.awt.dnd ドラッグ&ドロップ操作をサポートするためのインタフェースおよびクラスを提供します。 
 

java.awt における DragSource の使用方法
 

DragSource のパラメータを持つ java.awt におけるメソッド
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          要求された抽象クラス DragGestureRecognizer の、プラットフォームに依存する具象サブクラスを作成し、指定された DragSource、Component、および DragGestureListener に関連付けます。
 

java.awt.dnd における DragSource の使用方法
 

DragSource として宣言される java.awt.dnd におけるフィールド
protected  DragSource DragGestureRecognizer.dragSource
           
 

DragSource を返す java.awt.dnd におけるメソッド
static DragSource DragSource.getDefaultDragSource()
           
 DragSource DragGestureEvent.getDragSource()
           
 DragSource DragGestureRecognizer.getDragSource()
           
 DragSource DragSourceContext.getDragSource()
           
 

DragSource のパラメータを持つ java.awt.dnd におけるコンストラクタ
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          新しい DragGestureRecognizer を構築します。
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa)
          新しい DragGestureRecognizer を構築します。
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c)
          新しい DragGestureRecognizer を構築します。
DragGestureRecognizer.DragGestureRecognizer(DragSource ds)
          新しい DragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c)
          新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds)
          新しい MouseDragGestureRecognizer を構築します。
 


Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.