X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2FjalviewLiteJs.html;h=e33b30da66038b4c7301eb2ced6caddd8d574bc5;hb=87358521afabb1f5382a1fff5f991149c838b1e2;hp=434d1a77d8f316d10e999f53a9641b226da24ff0;hpb=b72f4090d5f4b06bbe6c9bace36bed652a350b82;p=jalview.git diff --git a/examples/jalviewLiteJs.html b/examples/jalviewLiteJs.html index 434d1a7..e33b30d 100644 --- a/examples/jalviewLiteJs.html +++ b/examples/jalviewLiteJs.html @@ -246,6 +246,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 +306,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