ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java
public Iterator getSelectedRows() {
    TreePath[] paths = table.getSelectionPaths();
    if ((paths == null) || (paths.length < 1))
      return null;

    HashSet set = new HashSet(2 * paths.length);
    for (TreePath path : paths) {
      model.addRowsToSetFromPath(table.getTree(), path, set);
    }

    return set.iterator();
  }
public Iterator getSelectedRows() {
    TreePath[] paths = table.getSelectionPaths();
    if ((paths == null) || (paths.length < 1))
      return null;

    HashSet set = new HashSet(2 * paths.length);
    for (TreePath path : paths) {
      model.addRowsToSetFromPath(table.getTree(), path, set);
    }

    return set.iterator();
  }
public Iterator getSelectedRows ( ) { TreePath [ ] paths = table . getSelectionPaths ( ) ; if ( ( paths == null ) || ( paths . length < 1 ) ) return null ; HashSet set = new HashSet ( 2 * paths . length ) ; for ( TreePath path : paths ) { model . addRowsToSetFromPath ( table . getTree ( ) , path , set ) ; } return set . iterator ( ) ; }
Get the currently selected rows.

@return an Iterator whose objects are TableRow
Get the currently selected rows .