autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true);
padGaps = Cache.getDefault("PAD_GAPS", true);
-
+ shownpfeats = Cache.getDefault("SHOW_NPFEATS_TOOLTIP",true);
+ showdbrefs = Cache.getDefault("SHOW_DBREFS_TOOLTIP",true);
+
String fontName = Cache.getDefault("FONT_NAME", "SansSerif");
String fontStyle = Cache.getDefault("FONT_STYLE", Font.PLAIN + "");
String fontSize = Cache.getDefault("FONT_SIZE", "10");
*/
boolean centreColumnLabels = false;
+ private boolean showdbrefs;
+
+ private boolean shownpfeats;
+
/**
* trigger update of conservation annotation
*/
}
}
}
+
+ /**
+ * enable or disable the display of Database Cross References in the sequence ID tooltip
+ */
+ public void setShowDbRefs(boolean show)
+ {
+ showdbrefs=show;
+ }
+
+ /**
+ *
+ * @return true if Database References are to be displayed on tooltips.
+ */
+ public boolean isShowDbRefs()
+ {
+ return showdbrefs;
+ }
+
+ /**
+ *
+ * @return true if Non-positional features are to be displayed on tooltips.
+ */
+ public boolean isShowNpFeats()
+ {
+ return shownpfeats;
+ }
+ /**
+ * enable or disable the display of Non-Positional sequence features in the sequence ID tooltip
+ * @param show
+ */
+ public void setShowNpFeats(boolean show)
+ {
+ shownpfeats=show;
+ }
}