JAL-957 manual update to applet authorlist - need to use authorprops (JAL-1200)
[jalview.git] / examples / jalviewLiteJs.html
index 2a90393..2580a69 100644 (file)
@@ -1,4 +1,21 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!--
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
+ * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+-->
 <html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
 <head>
 <!-- InstanceBeginEditable name="doctitle" -->
@@ -215,11 +232,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)
 
@@ -246,6 +273,8 @@ public AlignFrame newViewFrom(AlignFrame alf)
 public AlignFrame newViewFrom(AlignFrame alf, String name)
 
 // load a new alignment 
+// remember to store the AlignFrame object reference 
+// if you want to manipulate the new alignment view.
 public AlignFrame loadAlignment(String text, String title)