X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2FjalviewLiteJs.html;h=8b483b61649e274ca037c1e042c1c52aa47e9cfc;hb=dd1aed40cf00d837d1643918c380546a1dd2d39a;hp=2580a69c80aa12e5ba3745cdb26d0b1a4694ddcc;hpb=59d682209891099d46b960509907c79e3fb276fe;p=jalview.git diff --git a/examples/jalviewLiteJs.html b/examples/jalviewLiteJs.html index 2580a69..8b483b6 100644 --- a/examples/jalviewLiteJs.html +++ b/examples/jalviewLiteJs.html @@ -1,160 +1,169 @@ - + - + * 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 . + --> - -JalviewLite API documentation - - - - - - + Javascript API + + + + + + + + + + + + + - - - -
- - - - -
       
- - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Home
Overview
Download
Applet - Version
Screenshots
FAQ
Documentation
Release - history
Source - Code
Development Version
Links
News - Mailing List
Discussion Mailing List

Please send problems
and - bug reports to the discussion list.
-
-

-
-
-
-

 

- JalviewLite Javascript API
+ + + + + + + + + +
+ + + +
+ + + + +

The jalviewLite applet's application programming interface (API) includes two components. A JalviewLite Javascript Library and the public methods on the JalviewLite applet. -

The best way to learn how to use the API is to see it in action on the demonstration pages below:

- -

Notes

+

+

Notes

  • Unfortunately Javascript - Java communication is not possible using Internet Explorer or Opera on Macs. Please use Safari or @@ -170,7 +179,7 @@ pageTracker._trackPageview();
-

JalviewLite's Java API

+

JalviewLite's Javascript API

The following public methods on the jalviewLite applet are available to be called from javascript:

//get list of IDs of selected sequences
 public String getSelectedSequences()
@@ -240,11 +249,11 @@ public void loadAnnotation(String annotation)
 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)
+// (v2.8)
 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)
+// (v2.8)
 public abstract void loadFeaturesFrom(AlignFrame alf, String features, boolean autoenabledisplay)
 
 // get the sequence features in the given format (Jalview or GFF)
@@ -400,9 +409,31 @@ public static String getVersion()
 // debug flag - controls output to standard out
 public static boolean debug
 
-
+ + + + + + +
+ + + + - +