Returns the row index corresponding to the lead path. @return an integer giving the row index of the lead path, where 0 is the first row in the display; or -1 if leadPath is null
()
| 1909 | * if <code>leadPath</code> is <code>null</code> |
| 1910 | */ |
| 1911 | public int getLeadSelectionRow() { |
| 1912 | TreePath leadPath = getLeadSelectionPath(); |
| 1913 | |
| 1914 | if (leadPath != null) { |
| 1915 | return getRowForPath(leadPath); |
| 1916 | } |
| 1917 | return -1; |
| 1918 | } |
| 1919 | |
| 1920 | /** |
| 1921 | * Returns true if the item identified by the path is currently selected. |
no test coverage detected