Class CoordManager

java.lang.Object
org.biojava.nbio.structure.gui.util.CoordManager

public class CoordManager extends Object
a class that manages the conversion of sequence coordinate system to JPanel drawing coordinates
Since:
1.7
Version:
%I% %G%
Author:
Andreas Prlic
  • Constructor Details

    • CoordManager

      public CoordManager()
  • Method Details

    • setLength

      public void setLength(int length)
    • setScale

      public void setScale(float scale)
    • getSeqPos

      protected int getSeqPos(int panelPos)
      start counting at 0...
      Parameters:
      panelPos -
      Returns:
      the sequence position
    • getPanelPos

      protected int getPanelPos(int seqPos)