package jalview.api; import jalview.datamodel.AlignmentI; import java.awt.Component; /** * Describes a visual container that can show two alignments. * * @author gmcarstairs * */ public interface SplitContainerI { /** * Set visibility of the specified split view component. * * @param alignFrame * @param show */ // TODO need an interface for AlignFrame? void setComplementVisible(Component alignFrame, boolean show); /** * Returns the alignment that is complementary to the one in the given * AlignFrame, or null. */ AlignmentI getComplement(Component af); /** * Returns the frame title for the alignment that is complementary to the one * in the given AlignFrame, or null. * * @param af * @return */ String getComplementTitle(Component af); }