ranges = new ViewportRanges(al);
}
+ protected AlignmentViewPanel alignPanel=null;
+ public void setAlignPanel(AlignmentViewPanel ap)
+ {
+ alignPanel = ap;
+ }
+ /**
+ * return the AlignmentViewPanel containing the given viewport. Use this to get the
+ * components currently handling the given viewport.
+ *
+ * @param av
+ * @return null or an alignPanel guaranteed to have non-null alignFrame
+ * reference
+ */
+
+ public AlignmentViewPanel getAlignPanel()
+ {
+ return alignPanel;
+ }
/**
* @param name
* @see jalview.api.ViewStyleI#setFontName(java.lang.String)
* defensively null out references to large objects in case
* this object is not garbage collected (as if!)
*/
+ alignPanel=null;
consensus = null;
complementConsensus = null;
strucConsensus = null;