import jalview.datamodel.AlignmentI;
-import java.awt.Component;
-
/**
* Describes a visual container that can show two alignments.
*
* @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
* @param af
* @return
*/
- String getComplementTitle(Component af);
+ String getComplementTitle(Object af);
}
* Returns the alignment in the complementary frame to the one given.
*/
@Override
- public AlignmentI getComplement(Component alignFrame)
+ public AlignmentI getComplement(Object alignFrame)
{
if (alignFrame == this.getTopFrame())
{
* Returns the title of the complementary frame to the one given.
*/
@Override
- public String getComplementTitle(Component alignFrame)
+ public String getComplementTitle(Object alignFrame)
{
if (alignFrame == this.getTopFrame())
{
* Make the complement of the specified split component visible or hidden,
* adjusting the position of the split divide.
*/
- public void setComplementVisible(Component alignFrame, boolean show)
+ public void setComplementVisible(Object alignFrame, boolean show)
{
if (alignFrame == this.topFrame)
{
* scheme
*/
SequenceGroup mappedGroup = new SequenceGroup(sg);
- sg.cs = mapTo.getGlobalColourScheme();
+ mappedGroup.cs = mapTo.getGlobalColourScheme();
mappedGroup.clear();
// TODO set width of mapped group