org::gel::mauve::color::MultiplicityColorScheme Class Reference

Colors the matches based on their multiplicity. More...

Inheritance diagram for org::gel::mauve::color::MultiplicityColorScheme:

Inheritance graph
Collaboration diagram for org::gel::mauve::color::MultiplicityColorScheme:

Collaboration graph
List of all members.

Public Member Functions

void apply (BaseViewerModel model)
String toString ()

Private Member Functions

Vector getMatchColorTable (BaseViewerModel model)
void initColorTable (BaseViewerModel model)

Private Attributes

Vector _matchColorTable

Detailed Description

Colors the matches based on their multiplicity.

Definition at line 14 of file

Member Function Documentation

void org::gel::mauve::color::MultiplicityColorScheme::apply BaseViewerModel  model  )  [inline]

model Apply the color scheme to the elements of the model. At a minimum, the matches of the model must be assigned colors.

Implements org::gel::mauve::ColorScheme.

Definition at line 17 of file

References org::gel::mauve::Match::color, org::gel::mauve::BaseViewerModel::getGenomeByViewingIndex(), org::gel::mauve::BaseViewerModel::getMatch(), getMatchColorTable(), org::gel::mauve::BaseViewerModel::getMatchCount(), org::gel::mauve::BaseViewerModel::getSequenceCount(), and org::gel::mauve::Match::getStart().

Vector org::gel::mauve::color::MultiplicityColorScheme::getMatchColorTable BaseViewerModel  model  )  [inline, private]

Definition at line 38 of file

References _matchColorTable, and initColorTable().

Referenced by apply().

void org::gel::mauve::color::MultiplicityColorScheme::initColorTable BaseViewerModel  model  )  [inline, private]

Definition at line 46 of file

References _matchColorTable, and org::gel::mauve::BaseViewerModel::getSequenceCount().

Referenced by getMatchColorTable().

String org::gel::mauve::color::MultiplicityColorScheme::toString  )  [inline]

Definition at line 74 of file

Member Data Documentation

Vector org::gel::mauve::color::MultiplicityColorScheme::_matchColorTable [private]

Definition at line 15 of file

Referenced by getMatchColorTable(), and initColorTable().

The documentation for this class was generated from the following file:
Generated on Mon Aug 19 06:03:52 2013 for Mauve by doxygen 1.3.6