(JAL-965) new api methods to allow features to be loaded without automatically enabli...
[jalview.git] / examples / jalviewLiteJs.html
index e33b30d..197ef56 100644 (file)
@@ -215,11 +215,21 @@ public String getAlignmentFrom(AlignFrame alf, String format)
 public String getAlignmentFrom(AlignFrame alf, String format, String suffix)
 
 // add the given features or annotation to the current alignment
+// if features are loaded, feature display is automatically enabled
 public void loadAnnotation(String annotation)
 
 // add the given features or annotation to the given alignment view
+// if features are loaded, feature display is automatically enabled
 public void loadAnnotationFrom(AlignFrame alf, String annotation)
 
+// parse the given string as a jalview or GFF features file and optionally enable feature display on the current alignment
+// (v2.7.1)
+public abstract void loadFeatures(String features, boolean autoenabledisplay)
+
+// parse the given string as a jalview or GFF features file and optionally enable feature display on the given alignment
+// (v2.7.1)
+public abstract void loadFeaturesFrom(AlignFrame alf, String features, boolean autoenabledisplay)
+
 // get the sequence features in the given format (Jalview or GFF)
 public String getFeatures(String format)