java.lang.Object
javax.swing.TransferHandler.DropLocation
javax.swing.text.JTextComponent.DropLocation
- 含まれているクラス:
JTextComponent
public static final class JTextComponent.DropLocation extends TransferHandler.DropLocation
JTextComponent
のドロップ位置を表します。- 導入されたバージョン:
- 1.6
- 関連項目:
-
メソッドのサマリー
クラス javax.swing.TransferHandler.DropLocationで宣言されたメソッド
getDropPoint
-
メソッドの詳細
-
getIndex
public int getIndex()ドロップされたデータを挿入する、関連コンポーネント内のインデックス位置を返します。 このインデックスは、キャレットで解釈できるように、文字と文字の間の位置を表します。- 戻り値:
- ドロップ・インデックス
-
getBias
public Position.Bias getBias()ドロップ・インデックスのバイアスを返します。- 戻り値:
- ドロップ・バイアス
-
toString
public String toString()このドロップ位置の文字列表現を返します。 このメソッドはデバッグ用であり、返される文字列の内容および形式は実装によって異なります。- オーバーライド:
toString
、クラスTransferHandler.DropLocation
- 戻り値:
- このドロップ位置の文字列表現
-