org.utgenome.gwt.utgb.client.canvas
Class TrackWindowChain

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.canvas.TrackWindowChain

public class TrackWindowChain
extends Object

A chain of TrackWindows for supporting GoogleMap-style graphic drawing.

              (V: view window) 
               |----------|
 |--------||--------||--------||--------|
    (w1)      (w2)      (w3)     (w4:prefetch)
     |--------------------------------|
         (G: global view, 3V size) 
                                
                                
 After scrolling to right:                               
 
                       (V: view window) 
                         |-----------|
 |--------||--------||--------||--------||--------|
  (w1:discard) (w2)     (w3)      (w4)       (w5:prefetch) 
             |----------------------------------|
                  (G: global view, 3V size)
 

Author:
leo

Nested Class Summary
static class TrackWindowChain.WindowUpdateInfo
           
 
Constructor Summary
TrackWindowChain()
           
 
Method Summary
 void clear()
           
 TrackWindow getGlobalWindow()
           
 List<TrackWindow> getTrackWindowList()
           
 TrackWindow getViewWindow()
           
 void setPrefetchFactor(int factor)
           
 TrackWindowChain.WindowUpdateInfo setViewWindow(TrackWindow view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackWindowChain

public TrackWindowChain()
Method Detail

clear

public void clear()

setPrefetchFactor

public void setPrefetchFactor(int factor)

getTrackWindowList

public List<TrackWindow> getTrackWindowList()

getGlobalWindow

public TrackWindow getGlobalWindow()

getViewWindow

public TrackWindow getViewWindow()

setViewWindow

public TrackWindowChain.WindowUpdateInfo setViewWindow(TrackWindow view)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.