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

java.lang.Object
  |
  +--uk.ac.man.bioinf.module.Module
        |
        +--uk.ac.man.bioinf.apps.xml.XMLModule
              |
              +--uk.ac.man.bioinf.apps.cinema.CinemaModule
                    |
                    +--uk.ac.man.bioinf.apps.cinema.color.CinemaColorFactory
All Implemented Interfaces:
AlignmentEventProvider

public class CinemaColorFactory
extends CinemaModule

CinemaColorFactory.java Created: Fri Feb 9 11:49:21 2001

Version:
$Id: CinemaColorFactory.java,v 1.5 2002/03/08 14:49:27 lord Exp $
Author:
Phillip Lord

Constructor Summary
CinemaColorFactory()
           
 
Method Summary
 void addMetaData(ColorMapMetaData colorMap)
           
 Iterator getColorMapIterator()
           
 ColorMapMetaData getDefaultColorMapMetaData()
           
 ColorMapMetaData getMetaData(ColorMap map)
          Returns a meta data object for the given ColorMap.
 ColorMapMetaData getMetaData(String name)
           
 ModuleIdentifierList getRequiredIdentifiers()
          Returns the module identifiers for the required modules.
 int getSize()
           
 String getVersion()
          Returns the version of this module.
 void start()
          The method called externally to initiate the modules function.
 
Methods inherited from class uk.ac.man.bioinf.apps.cinema.CinemaModule
addAlignmentListener, addCinemaPropertyChangeListener, addCinemaPropertyChangeListener, addVetoableAlignmentListener, clearSequenceTitleColor, destroy, fireCinemaPropertyChange, getAlignmentSelectionModel, getColorMap, getSequenceAlignment, removeAlignmentListener, removeCinemaPropertyChangeListener, removeCinemaPropertyChangeListener, removeVetoableAlignmentListener, sendStatusMessage, setAlignmentSelectionModel, setColorMap, setSequenceAlignment, setSequenceTitleColor
 
Methods inherited from class uk.ac.man.bioinf.apps.xml.XMLModule
getConfigProperties, getConfigTree
 
Methods inherited from class uk.ac.man.bioinf.module.Module
addPropertyChangeListener, addPropertyChangeListener, finalize, firePropertyChange, firePropertyChange, firePropertyChange, getContext, getIdentifier, getRequiredModule, getRequiredModules, hasListeners, isDestroyed, isStarted, load, removePropertyChangeListener, removePropertyChangeListener, runStart, setContext
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CinemaColorFactory

public CinemaColorFactory()
Method Detail

start

public void start()
Description copied from class: Module
The method called externally to initiate the modules function.

Overrides:
start in class Module

addMetaData

public void addMetaData(ColorMapMetaData colorMap)

getMetaData

public ColorMapMetaData getMetaData(ColorMap map)
Returns a meta data object for the given ColorMap.

Parameters:
map -
Returns:

getMetaData

public ColorMapMetaData getMetaData(String name)

getColorMapIterator

public Iterator getColorMapIterator()

getSize

public int getSize()

getDefaultColorMapMetaData

public ColorMapMetaData getDefaultColorMapMetaData()

getVersion

public String getVersion()
Description copied from class: Module
Returns the version of this module.

Specified by:
getVersion in class Module
Returns:
the version

getRequiredIdentifiers

public ModuleIdentifierList getRequiredIdentifiers()
Description copied from class: Module
Returns the module identifiers for the required modules. This places a call on getRequiredModules, which is delegated to the module context. It may require over-riding inorder to improve the efficiency of the method.

Overrides:
getRequiredIdentifiers in class CinemaModule
Returns:
the required module identifiers