public static final class JTextComponent.DropLocation extends TransferHandler.DropLocation
JTextComponent
のドロップ位置を表します。JTextComponent.getDropLocation()
修飾子と型 | メソッド | 説明 |
---|---|---|
Position.Bias |
getBias() |
ドロップ・インデックスのバイアスを返します。
|
int |
getIndex() |
ドロップされたデータを挿入する、関連コンポーネント内のインデックス位置を返します。
|
String |
toString() |
このドロップ位置の文字列表現を返します。
|
getDropPoint
public int getIndex()
public Position.Bias getBias()
public String toString()
toString
、クラスTransferHandler.DropLocation
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。