uk.ac.man.bioinf.gui.color
Interface ColorMap

All Known Subinterfaces:
ThreadableColorMap
All Known Implementing Classes:
ConsensusPercentageIDColorMap, DoubleArrayColorMap, IndividualElementColorMap, PercentIDVarianceColorMap, SingleColorMap, ThreadedColorMap

public interface ColorMap

ColorMap.java The interface to support color mapping of elements in a sequence alignment. NB: Objects of this type should be immutable. Created: Thu Mar 23 18:32:32 2000

Version:
$Id: ColorMap.java,v 1.4 2001/04/11 17:04:42 lord Exp $
Author:
J Selley

Method Summary
 Color getColorAt(SequenceAlignment sa, Element elem, SequenceAlignmentPoint point)
          Returns the Color at a specific position in the alignment.
 String getName()
          Returns the name of this colour scheme.
 

Method Detail

getColorAt

public Color getColorAt(SequenceAlignment sa,
                        Element elem,
                        SequenceAlignmentPoint point)
Returns the Color at a specific position in the alignment. This method will do various things depending on the actual color map implemented.

Parameters:
sa - the sequence alignment
elem - the element
point - the location within the SA
Returns:
the color

getName

public String getName()
Returns the name of this colour scheme.

Returns:
the name