private int getViewIndexInUnifiedView (AjtColumnInfo<T> col) { final Pair<TableColumn,Boolean> tcInfo = getTableColumnObject(col); if (tcInfo.getFirst() == null) return -1; final JTable jtable = tcInfo.getSecond()? this.decorator.getFixedTable() : this.decorator.getMainTable(); final int viewIndexWithinJtable = jtable.convertColumnIndexToView(tcInfo.getFirst().getModelIndex()); final int viewIndexInUnified = tcInfo.getSecond()? viewIndexWithinJtable : this.decorator.getFrozenColumns() + viewIndexWithinJtable; return viewIndexInUnified; }