• Method Detail

      • getSecondaryDirection

        int getSecondaryDirection()

        getSecondaryDirection returns the direction in which the secondary sequence is rendered. This may be either HORIZONTAL or VERTICAL.

        Returns:
        an int.
      • getSecondarySymbols

        SymbolList getSecondarySymbols()

        getSecondarySymbols returns the symbols of the secondary sequence.

        Returns:
        a SymbolList.
      • getSecondaryRange

        RangeLocation getSecondaryRange()

        getSecondaryRange returns the range of the secondary sequence currently rendered.

        Returns:
        a RangeLocation.
      • secondarySequenceToGraphics

        double secondarySequenceToGraphics​(int sequencePos)

        secondarySequenceToGraphics converts a sequence coordinate on the secondary sequence to a graphical position.

        Parameters:
        sequencePos - an int.
        Returns:
        a double.
      • graphicsToSecondarySequence

        int graphicsToSecondarySequence​(double graphicsPos)

        graphicsToSecondarySequence converts a graphical position to a sequence coordinate on the secondary sequence.

        Parameters:
        graphicsPos - a double.
        Returns:
        an int.
      • graphicsToSecondarySequence

        int graphicsToSecondarySequence​(Point point)

        graphicsToSecondarySequence converts a graphical position to a secondary sequence index.

        Parameters:
        point - a Point.
        Returns:
        an int.