org::gel::mauve::color::NormalizedMultiplicityTypeColorScheme Class Reference

Color matches by their multiplicity and the sequences they match in. More...

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

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

Collaboration graph
List of all members.

Public Member Functions

void apply (BaseViewerModel model)
String toString ()

Static Private Attributes


Detailed Description

Color matches by their multiplicity and the sequences they match in.

Will not work with more than 62 sequences.

Definition at line 15 of file

Member Function Documentation

void org::gel::mauve::color::NormalizedMultiplicityTypeColorScheme::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 24 of file

References org::gel::mauve::Match::color, org::gel::mauve::BaseViewerModel::getMatchCount(), org::gel::mauve::BaseViewerModel::getSequenceCount(), MULTIPLICITY_TYPE_COMPARATOR, and org::gel::mauve::BaseViewerModel::sortedMatches().

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

Definition at line 69 of file

Member Data Documentation

final Comparator org::gel::mauve::color::NormalizedMultiplicityTypeColorScheme::MULTIPLICITY_TYPE_COMPARATOR [static, private]

Initial value:

 new Comparator () {
                public int compare (Object o1, Object o2) {
                        Match a = (Match) o1;
                        Match b = (Match) o2;
                        return (int) (a.multiplicityType () - b.multiplicityType ());

Definition at line 16 of file

Referenced by apply().

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