Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.man.bioinf.apps.cinema.utils
Class ConsensusPercentageIDColorMap

    java.lang.Object
      |
      +--uk.ac.man.bioinf.apps.cinema.utils.ConsensusPercentageIDColorMap

All Implemented Interfaces:
  AlignmentListener, ColorMap, EventListener, SequenceListener

public class ConsensusPercentageIDColorMap
extends Object
implements ColorMap, SequenceListener, AlignmentListener

ConsensusPercentageIDColorMap.java Created: Fri Jun 23 17:57:45 2000

Version:
  $Id: ConsensusPercentageIDColorMap.java,v 1.6 2001/04/11 17:04:42 lord Exp $
Author:
  Phillip Lord

Constructor Summary
`ConsensusPercentageIDColorMap(SequenceAlignment alignment)`

Method Summary
`void` | `changeOccurred(AlignmentEvent event)` method signalled after a change has occured to a multiple alignment
`void` | `changeOccurred(SequenceEvent event)` Method called when a change occurs
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConsensusPercentageIDColorMap

    public ConsensusPercentageIDColorMap(SequenceAlignment alignment)

Method Detail

### 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 alignment
    `elem` - the element
    `point` - 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

### changeOccurred

    public void changeOccurred(SequenceEvent event)

  Description copied from interface: `SequenceListener`
  Method called when a change occurs

  Specified by:
    `changeOccurred` in interface `SequenceListener`
  Parameters:
    `event` -

### changeOccurred

    public void changeOccurred(AlignmentEvent event)

  Description copied from interface: `AlignmentListener`
  method signalled after a change has occured to a multiple alignment

  Specified by:
    `changeOccurred` in interface `AlignmentListener`
  Parameters:
    `event` - the event type

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD