JAL-845 refactor / typo fix
[jalview.git] / src / jalview / api / SplitContainerI.java
index 2abf4d8..b9c3121 100644 (file)
@@ -2,8 +2,6 @@ package jalview.api;
 
 import jalview.datamodel.AlignmentI;
 
-import java.awt.Component;
-
 /**
  * Describes a visual container that can show two alignments.
  * 
@@ -20,13 +18,13 @@ public interface SplitContainerI
    * @param show
    */
   // TODO need an interface for AlignFrame?
-  void setComplementVisible(Component alignFrame, boolean show);
+  void setComplementVisible(Object alignFrame, boolean show);
 
   /**
    * Returns the alignment that is complementary to the one in the given
    * AlignFrame, or null.
    */
-  AlignmentI getComplement(Component af);
+  AlignmentI getComplement(Object af);
 
   /**
    * Returns the frame title for the alignment that is complementary to the one
@@ -35,6 +33,6 @@ public interface SplitContainerI
    * @param af
    * @return
    */
-  String getComplementTitle(Component af);
+  String getComplementTitle(Object af);
 
 }