public static final String FILE_DESC = "HTML";
- private ColourSchemeI cs;
+ private ColourSchemeI colourScheme;
+
+ private boolean showSeqFeatures;
public HtmlFile()
{
seqs = jsonFile.seqs;
seqGroups = jsonFile.seqGroups;
annotations = jsonFile.annotations;
+ showSeqFeatures = jsonFile.isShowSeqFeatures();
+ colourScheme = jsonFile.getColourScheme();
} catch (Exception e)
{
e.printStackTrace();
public void LoadAlignmentFeatures(AlignFrame af)
{
- af.setShowSeqFeatures(JSONFile.isSeqFeaturesEnabled());
- af.changeColour(JSONFile.getColourScheme());
+ af.setShowSeqFeatures(isShowSeqFeatures());
+ af.changeColour(getColourScheme());
af.setMenusForViewport();
}
"Print method of HtmlFile not yet supported!");
}
+ public boolean isShowSeqFeatures()
+ {
+ return showSeqFeatures;
+ }
+
+ public void setShowSeqFeatures(boolean showSeqFeatures)
+ {
+ this.showSeqFeatures = showSeqFeatures;
+ }
+
+ public ColourSchemeI getColourScheme()
+ {
+ return colourScheme;
+ }
+
+ public void setColourScheme(ColourSchemeI colourScheme)
+ {
+ this.colourScheme = colourScheme;
+ }
+
}