left and right justify method
[jalview.git] / src / jalview / datamodel / AlignmentI.java
index 4de17e7..d9791f1 100755 (executable)
@@ -375,5 +375,10 @@ public interface AlignmentI
    * @param toappend - the alignment to be appended. 
    */
   public void append(AlignmentI toappend);
-
+  /**
+   * Justify the sequences to the left or right by deleting and inserting gaps before the initial residue or after the terminal residue
+   * @param right true if alignment padded to right, false to justify to left
+   * @return true if alignment was changed
+   */
+  public boolean justify(boolean right);
 }