ui/src/main/java/ucar/nc2/ui/table/HidableTableColumnModel.java
public TableColumn getColumn(int columnIndex, boolean onlyVisible) {
        if (onlyVisible) {
            return tableColumns.elementAt(columnIndex);
        } else {
            return allTableColumns.elementAt(columnIndex);
        }

    }
public TableColumn getColumn(int columnIndex, boolean onlyVisible) {
        if (onlyVisible) {
            return tableColumns.elementAt(columnIndex);
        } else {
            return allTableColumns.elementAt(columnIndex);
        }

    }
public TableColumn getColumn ( int columnIndex , boolean onlyVisible ) { if ( onlyVisible ) { return tableColumns . elementAt ( columnIndex ) ; } else { return allTableColumns . elementAt ( columnIndex ) ; } }
Returns the <code>TableColumn</code> object for the column
at <code>columnIndex</code>.

@param    columnIndex    the index of the column desired
@param    onlyVisible    if set columnIndex is meant to be relative to all visible columns only
else it is the index in all columns
@return the <code>TableColumn</code> object for the column
at <code>columnIndex</code>
Returns the <code > TableColumn< / code > object for the column at <code > columnIndex< / code > .