JAL-3253-applet JAL-3383
[jalview.git] / src / jalview / api / AlignmentColsCollectionI.java
index 06b1675..70dda87 100644 (file)
@@ -20,6 +20,8 @@
  */
 package jalview.api;
 
+import java.util.BitSet;
+
 public interface AlignmentColsCollectionI extends Iterable<Integer>
 {
   /**
@@ -37,4 +39,20 @@ public interface AlignmentColsCollectionI extends Iterable<Integer>
    * @return true if there is at least 1 hidden column
    */
   public boolean hasHidden();
+
+  /**
+   * Get the visible-column bitset, possibly containing hidden columns (which
+   * may or may not be hidden in the overview).
+   * 
+   * @return a BitSet
+   */
+  public BitSet getOverviewBitSet();
+
+  /**
+   * Get the hidden-column bitset, (which may or may not be hidden in the
+   * overview).
+   * 
+   * @return
+   */
+  BitSet getHiddenBitSet();
 }