Class AlignedPosition
- java.lang.Object
-
- org.biojava.nbio.structure.gui.util.AlignedPosition
-
public class AlignedPosition extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
EQUIVALENT
flag if this position is equivalentstatic int
NOT_ALIGNED
they can be shown in the same column (for a compact display) , but they are not structurally equivalent
-
Constructor Summary
Constructors Constructor Description AlignedPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEquivalent()
int
getPos(int position)
int
getPos1()
int
getPos2()
void
setEquivalent(int equivalent)
void
setPos(int position, int pos)
void
setPos1(int pos1)
void
setPos2(int pos2)
String
toString()
-
-
-
Field Detail
-
EQUIVALENT
public static final int EQUIVALENT
flag if this position is equivalent- See Also:
- Constant Field Values
-
NOT_ALIGNED
public static final int NOT_ALIGNED
they can be shown in the same column (for a compact display) , but they are not structurally equivalent- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AlignedPosition
public AlignedPosition()
-
-
Method Detail
-
getPos
public int getPos(int position)
-
setPos
public void setPos(int position, int pos)
-
getPos1
public int getPos1()
-
setPos1
public void setPos1(int pos1)
-
getPos2
public int getPos2()
-
setPos2
public void setPos2(int pos2)
-
getEquivalent
public int getEquivalent()
-
setEquivalent
public void setEquivalent(int equivalent)
-
-