return hiddenSequences == null ? null : hiddenSequences[alignmentIndex];
}
+ /**
+ * Convert absolute alignment index to visible alignment index
+ *
+ * @param alignmentIndex
+ * @return
+ */
public int findIndexWithoutHiddenSeqs(int alignmentIndex)
{
if (hiddenSequences == null)
return (alignmentIndex - hiddenSeqs);
}
+ /**
+ * Convert alignment index from visible alignment to absolute alignment
+ *
+ * @param alignmentIndex
+ * @return
+ */
public int adjustForHiddenSeqs(int alignmentIndex)
{
if (hiddenSequences == null)
void init()
{
-
- /*setStartRes(0);
- setEndRes(alignment.getWidth() - 1);
- setStartSeq(0);
- setEndSeq(alignment.getHeight() - 1);*/
+ posProps = new ViewportPositionProps(this.alignment);
applyViewProperties();
String fontName = Cache.getDefault("FONT_NAME", "SansSerif");
{
residueShading.setConsensus(hconsensus);
}
-
- posProps = new ViewportPositionProps(this.alignment);
}
/**