X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2FjalviewLiteJs.html;h=197ef56e8a2ef829b675d9c35e49d779e5361457;hb=d2219b397cfed501534b85976023e7045c35ff67;hp=434d1a77d8f316d10e999f53a9641b226da24ff0;hpb=b72f4090d5f4b06bbe6c9bace36bed652a350b82;p=jalview.git diff --git a/examples/jalviewLiteJs.html b/examples/jalviewLiteJs.html index 434d1a7..197ef56 100644 --- a/examples/jalviewLiteJs.html +++ b/examples/jalviewLiteJs.html @@ -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) @@ -246,6 +256,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) @@ -304,6 +316,14 @@ public boolean addPdbFile(AlignFrame alFrame, // the given location the top left hand corner for given current view (v2.7) public void scrollViewToIn(AlignFrame alf, String topRow, String leftHandColumn) +// adjust horizontal scroll in alf to the make +// the given location the left hand corner for given current view (v2.7) +public void scrollViewToColumnIn(AlignFrame alf, String leftHandColumn) + +// adjust horizontal/vertical scroll in alf to the make +// the given location the top row for given current view (v2.7) +public void scrollViewToRowIn(AlignFrame alf, String topRow) + // return separator separated list of feature groups // on the current alignment