Class SequenceDisplay

    • Field Detail

      • MAX_SCALE

        public static final int MAX_SCALE
        the maximum value that the scale can get
        See Also:
        Constant Field Values
    • Method Detail

      • main

        public static void main​(String[] args)
      • clearListeners

        public void clearListeners()
      • setStructurePairAligner

        public void setStructurePairAligner​(StructurePairAligner structurePairAligner)
      • getIdx1

        public int[] getIdx1()
        get the identical position in the alignment
        Returns:
        identical positions for structure1
      • getIdx2

        public int[] getIdx2()
        get the identical position in the alignment
        Returns:
        identical positions for structure2
      • setStructure1

        public void setStructure1​(Structure structure)
      • setStructure2

        public void setStructure2​(Structure structure)
      • updateDisplay

        public void updateDisplay()
      • calcScale

        public void calcScale​(int zoomFactor)
        a value of 100 means that the whole sequence should be displayed in the current visible window a factor of 1 means that one amino acid shoud be drawn as big as possible
        Parameters:
        zoomFactor - - a value between 1 and 100
      • getScale

        public float getScale()