Skip to content

Commit 934d554

Browse files
author
Seren
committed
Additional viewRegion functions added
1 parent 2512132 commit 934d554

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/at/gmi/nordborglab/widgets/geneviewer/client/GeneViewerInstance.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,20 @@ public final native void setGeneData(JavaScriptObject geneData) /*-{
112112
public final native void setChromosome(String chromosome) /*-{
113113
this.api_setChromosome(chromosome);
114114
}-*/;
115+
116+
public final native void setViewRegion(int viewStart, int viewEnd) /*-{
117+
this.api_setViewRegion(viewStart,viewEnd);
118+
}-*/;
119+
120+
public final native int getViewStart() /*-{
121+
return this.api_getViewStart();
122+
}-*/;
123+
124+
public final native int getViewEnd() /*-{
125+
return this.api_getViewEnd();
126+
}-*/;
127+
128+
public final native void redraw(boolean isFetchGenes) /*-{
129+
this.api_redraw(isFetchGenes);
130+
}-*/;
115131
}

0 commit comments

Comments
 (0)