model
Class ClusterGroup

java.lang.Object
  extended by model.ClusterGroup

public class ClusterGroup
extends java.lang.Object

This class defines a cluster group which stands for a subfamily of proteins.


Constructor Summary
ClusterGroup()
           
 
Method Summary
 void addSequence(SequenceImpl seq)
          This method adds another sequence to the cluster group.
 java.awt.Color getColor()
          Returns the cluster color.
 int getIndex()
          Returns the cluster index.
 SequenceImpl[] getSequences()
          Returns the sequences.
 void setColor(java.awt.Color color)
          Sets the cluster Color
 void setIndex(int index)
          Sets the cluster index.
 void setSequences(SequenceImpl[] sequences)
          Sets the sequences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterGroup

public ClusterGroup()
Method Detail

addSequence

public void addSequence(SequenceImpl seq)
This method adds another sequence to the cluster group.

Parameters:
seq -

getIndex

public int getIndex()
Returns the cluster index.

Returns:
clusterIndex Integer

setIndex

public void setIndex(int index)
Sets the cluster index.

Parameters:
index -

getSequences

public SequenceImpl[] getSequences()
Returns the sequences.

Returns:
sequences SequenceImpl[]

setSequences

public void setSequences(SequenceImpl[] sequences)
Sets the sequences.

Parameters:
sequences -

getColor

public java.awt.Color getColor()
Returns the cluster color.

Returns:
clusterColor Color

setColor

public void setColor(java.awt.Color color)
Sets the cluster Color

Parameters:
color -