uk.ac.man.bioinf.gui.color
Class PercentIDVarianceColorMap
java.lang.Object
|
+--uk.ac.man.bioinf.gui.color.PercentIDVarianceColorMap
- All Implemented Interfaces:
- ColorMap, ThreadableColorMap
- public class PercentIDVarianceColorMap
- extends Object
- implements ThreadableColorMap
PercentIDVarianceColorMap.java
Calculates a colour scheme
Created: Fri Jun 9 16:03:46 2000
- Version:
- $Id: PercentIDVarianceColorMap.java,v 1.10 2001/04/11 17:04:42 lord Exp $
- Author:
- Phillip Lord
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
PercentIDVarianceColorMap
public PercentIDVarianceColorMap(PercentageIDCalculator calculator)
PercentIDVarianceColorMap
public PercentIDVarianceColorMap(PercentageIDCalculator calculator,
ColorList lowToHighColours)
getColorAt
public Color getColorAt(SequenceAlignment sa,
Element elem,
SequenceAlignmentPoint point)
- Description copied from interface:
ColorMap
- Returns the Color at a specific position in the alignment. This
method will do various things depending on the actual color map
implemented.
- Specified by:
getColorAt
in interface ColorMap
- Parameters:
sa
- the sequence alignmentelem
- the elementpoint
- the location within the SA
- Returns:
- the color
getName
public String getName()
- Description copied from interface:
ColorMap
- Returns the name of this colour scheme.
- Specified by:
getName
in interface ColorMap
- Returns:
- the name
calculate
public void calculate()
- Specified by:
calculate
in interface ThreadableColorMap