- 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
- 関連項目:
- JTextComponent.getDropLocation()
 
- 
- 
メソッドのサマリー修飾子と型 メソッド 説明 Position.BiasgetBias()ドロップ・インデックスのバイアスを返します。intgetIndex()ドロップされたデータを挿入する、関連コンポーネント内のインデックス位置を返します。StringtoString()このドロップ位置の文字列表現を返します。- 
クラス javax.swing.TransferHandler.DropLocationで宣言されたメソッドgetDropPoint
 
- 
 
- 
- 
- 
メソッドの詳細- 
getIndexpublic int getIndex() ドロップされたデータを挿入する、関連コンポーネント内のインデックス位置を返します。 このインデックスは、キャレットで解釈できるように、文字と文字の間の位置を表します。- 戻り値:
- ドロップ・インデックス
 
 - 
getBiaspublic Position.Bias getBias() ドロップ・インデックスのバイアスを返します。- 戻り値:
- ドロップ・バイアス
 
 - 
toStringpublic String toString() このドロップ位置の文字列表現を返します。 このメソッドはデバッグ用であり、返される文字列の内容および形式は実装によって異なります。- オーバーライド:
- toString、クラス:- TransferHandler.DropLocation
- 戻り値:
- このドロップ位置の文字列表現
 
 
- 
 
-