Logo Search packages:      
Sourcecode: jalview version File versions

int jalview::datamodel::ColumnSelection::getMax (  ) [inline]

rightmost selected column

rightmost column in alignment that is selected

Definition at line 143 of file ColumnSelection.java.

References columnAt().

Referenced by jalview::gui::AnnotationPanel::actionPerformed(), and jalview::gui::ScalePanel::mousePressed().

    int max = -1;

    for (int i = 0; i < selected.size(); i++)
      if (columnAt(i) > max)
        max = columnAt(i);

    return max;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index