public static final class JTable.DropLocation extends TransferHandler.DropLocation
TransferHandler.DropLocation表示用于一个放置位置 
       JTable 。 
      JTable.getDropLocation() 
       | Modifier and Type | Method and Description | 
|---|---|
| int | getColumn()
              返回抛出的项目应放在表中的列索引。 
             | 
| int | getRow()
              返回放置在表中的行索引。 
             | 
| boolean | isInsertColumn()
              返回此位置是否表示列的插入。 
             | 
| boolean | isInsertRow()
              返回此位置是否表示行的插入。 
             | 
| String | toString()
              返回此放置位置的字符串表示形式。 
             | 
getDropPointpublic int getRow()
isInsertRow()的回报。 
           如果该方法返回true则此值表示应插入新行的索引。 
           否则,它表示删除数据的现有行的值。 
           这个索引就是视图。 
            -1表示下降发生在空白空间,不能计算行。 
public int getColumn()
isInsertColumn()的回报。 
           如果该方法返回true则此值表示应插入新列的索引。 
           否则,它表示删除数据的现有列的值。 
           这个索引就是视图。 
            -1表示下降发生在空白空间,不能计算任何列。 
public boolean isInsertRow()
public boolean isInsertColumn()
public String toString()
toString在 
            TransferHandler.DropLocation 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.