| パッケージ | 説明 | 
|---|---|
| java.awt.dnd | ドラッグ&ドロップ操作は、多くのグラフィカル・ユーザー・インタフェース・システムで見られる直接的な操作ジェスチャで、GUIの表現要素に論理的に関連付けられた2つのエンティティ間で情報を変換するメカニズムを提供します。 | 
| 修飾子と型 | フィールド | 説明 | 
|---|---|---|
| protected DropTargetContext | DropTargetEvent. contextこの DropTargetEventに関連付けられているDropTargetContext。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| protected DropTargetContext | DropTarget. createDropTargetContext()このDropTargetに関連したDropTargetContextを作成します。 | |
| DropTargetContext | DropTargetEvent. getDropTargetContext()このメソッドは、この DropTargetEventに関連付けられたDropTargetContextを返します。 | |
| DropTargetContext | DropTarget. getDropTargetContext()この DropTargetに関連付けられているDropTargetContextを取得します。 | 
| コンストラクタ | 説明 | 
|---|---|
| DropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)この操作の DropTargetContext、Componentの座標内の「ドラッグ」Cursorのホット・スポットの位置、ユーザー・ドロップ・アクション、およびソース・ドロップ・アクションを使用して、DropTargetDragEventを構築します。 | |
| DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)この操作の DropTargetContext、Componentの座標内のドラッグCursorのホット・スポットの位置、現在選択されているユーザー・ドロップ・アクション、およびソースでサポートされている現在のアクションのセットを使用して、DropTargetDropEventを構築します。 | |
| DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions, boolean isLocal)この操作の DropTargetContext、Componentの座標内のドラッグCursorのホット・スポットの位置、現在選択されているユーザー・ドロップ・アクション、ソースでサポートされている現在のアクションのセット、およびソースがターゲットと同じJVM内に存在するかどうかを示すbooleanを使用して、DropTargetEventを構築します。 | |
| DropTargetEvent(DropTargetContext dtc)指定された DropTargetContextを使用して、DropTargetEventオブジェクトを構築します。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。