X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignmentColsCollectionI.java;h=06b16753046fe843df059198fb5fca5b84ef4d1d;hb=299d07a9554a3661d44395aa2c6bad9cecd10bf0;hp=603da98a204b1686906b3504f07b912b74ae7ebe;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;p=jalview.git diff --git a/src/jalview/api/AlignmentColsCollectionI.java b/src/jalview/api/AlignmentColsCollectionI.java index 603da98..06b1675 100644 --- a/src/jalview/api/AlignmentColsCollectionI.java +++ b/src/jalview/api/AlignmentColsCollectionI.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.api; public interface AlignmentColsCollectionI extends Iterable @@ -10,4 +30,11 @@ public interface AlignmentColsCollectionI extends Iterable * @return true if the column at the position is hidden */ public boolean isHidden(int c); + + /** + * Answers if any column in this collection is hidden + * + * @return true if there is at least 1 hidden column + */ + public boolean hasHidden(); }