|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.gui.util.CoordManager
public class CoordManager
a class that manages the conversion of sequence coordinate system to JPanel drawing coordinates
| Constructor Summary | |
|---|---|
CoordManager()
|
|
| Method Summary | |
|---|---|
protected int |
getPanelPos(int seqPos)
|
protected int |
getSeqPos(int panelPos)
start counting at 0... |
void |
setLength(int length)
|
void |
setScale(float scale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordManager()
| Method Detail |
|---|
public void setLength(int length)
public void setScale(float scale)
protected int getSeqPos(int panelPos)
panelPos -
protected int getPanelPos(int seqPos)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||