package jalview.viewmodel;
-import jalview.datamodel.AlignmentColsCollection;
+import jalview.api.AlignmentColsCollectionI;
+import jalview.api.AlignmentRowsCollectionI;
import jalview.datamodel.AlignmentI;
-import jalview.datamodel.AlignmentRowsCollection;
+import jalview.datamodel.AllColsCollection;
+import jalview.datamodel.AllRowsCollection;
import jalview.datamodel.ColumnSelection;
import jalview.datamodel.HiddenSequences;
}
@Override
- public AlignmentColsCollection getColumns(ViewportRanges ranges,
+ public AlignmentColsCollectionI getColumns(ViewportRanges ranges,
ColumnSelection hiddenCols)
{
- return new AlignmentColsCollection(0,
+ return new AllColsCollection(0,
ranges.getVisibleAlignmentWidth() - 1, hiddenCols);
}
@Override
- public AlignmentRowsCollection getRows(ViewportRanges ranges,
+ public AlignmentRowsCollectionI getRows(ViewportRanges ranges,
AlignmentI al)
{
- return new AlignmentRowsCollection(0,
+ return new AllRowsCollection(0,
ranges.getVisibleAlignmentHeight() - 1, al);
}