uk.ac.man.bioinf.apps.cinema.color
Class VariableColorMapMetaData

java.lang.Object
  |
  +--uk.ac.man.bioinf.apps.cinema.color.VariableColorMapMetaData
All Implemented Interfaces:
ColorMapMetaData

public class VariableColorMapMetaData
extends Object
implements ColorMapMetaData

THIS FILE WAS AUTOMATICALLY GENERATED USING color-convert.el Created: Wed Jul 19 14:31:39 2000

Version:
$Id: VariableColorMapMetaData.java,v 1.1 2001/07/06 11:45:21 lord Exp $
Author:
color-convert.el

Field Summary
static String NAME
           
 
Constructor Summary
VariableColorMapMetaData()
           
 
Method Summary
 String getColorMapName()
          This should return the string that ColorMap instances created via this class, return as their name, via the getName method
 ColorMap getConsensusInstance(ConsensusSequence sequence, JAlignmentViewer viewer)
          Returns an instance of this type for this consensus sequence
 ColorMap getInstance(SequenceAlignment alignment, JAlignmentViewer viewer)
          Returns a instance of this Color map for the given alignment instance.
 void setModule(CinemaModule module)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

VariableColorMapMetaData

public VariableColorMapMetaData()
Method Detail

setModule

public void setModule(CinemaModule module)
Specified by:
setModule in interface ColorMapMetaData

getColorMapName

public String getColorMapName()
Description copied from interface: ColorMapMetaData
This should return the string that ColorMap instances created via this class, return as their name, via the getName method

Specified by:
getColorMapName in interface ColorMapMetaData
Returns:
the name

getInstance

public ColorMap getInstance(SequenceAlignment alignment,
                            JAlignmentViewer viewer)
Description copied from interface: ColorMapMetaData
Returns a instance of this Color map for the given alignment instance.

Specified by:
getInstance in interface ColorMapMetaData
Returns:
the ColorMap

getConsensusInstance

public ColorMap getConsensusInstance(ConsensusSequence sequence,
                                     JAlignmentViewer viewer)
Description copied from interface: ColorMapMetaData
Returns an instance of this type for this consensus sequence

Specified by:
getConsensusInstance in interface ColorMapMetaData
Parameters:
sequence - the consensus sequence
Returns:
the ColorMap instance