org.utgenome.gwt.utgb.client.track.lib
Class SAMQueryTrack

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.track.TrackBase
      extended by org.utgenome.gwt.utgb.client.track.lib.SAMQueryTrack
All Implemented Interfaces:
Track, TrackEntry, TrackGroupPropertyChangeListener

public class SAMQueryTrack
extends TrackBase

Track for displaying SAM/BAM query result

Author:
yoshimura

Nested Class Summary
 
Nested classes/interfaces inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
TrackBase.TrackFrameConfig
 
Nested classes/interfaces inherited from interface org.utgenome.gwt.utgb.client.track.Track
Track.TrackFactory
 
Field Summary
protected  String bamFileName
           
protected  String colorMode
           
protected  int end
           
protected  String indexFileName
           
protected  String refSeqFileName
           
protected  int start
           
protected  String target
           
protected  String trackBaseURL
           
 
Fields inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
_frame, _trackGroup, _trackInfo, frameConfig
 
Constructor Summary
SAMQueryTrack()
           
 
Method Summary
static Track.TrackFactory factory()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void onChangeTrackConfig(TrackConfigChange change)
          An event handler when some cofigurations of the track changes
 void onChangeTrackWindow(TrackWindow newWindow)
          An event handler when the track window location has changed
 void restoreProperties(CanonicalProperties properties)
          Override this method to restore internal state of the track
 void setUp(TrackFrame trackFrame, TrackGroup group)
          This method is invoked when TrackFrame and TrackGroup for this track become ready, that is, the track is drawable.
 void update(TrackWindow newWindow)
           
 
Methods inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
beforeChangeTrackWindow, draw, error, getBrowserService, getClassName, getConfig, getCoordinate, getDefaultWindowHeight, getFrame, getMinimumWindowHeight, getName, getTrackGroup, getTrackGroupProperty, getTrackGroupProperty, getTrackInfo, getTrackWindow, isInitialized, isTrack, isTrackGroup, loadView, onChange, onChangeTrackGroupProperty, onChangeTrackHeight, refresh, resolvePropertyValues, saveProperties, setCenterOfTrackWindow, setConfig, setFrame, setTrackGroup, setTrackGroupProperty, toView, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trackBaseURL

protected String trackBaseURL

target

protected String target

start

protected int start

end

protected int end

bamFileName

protected String bamFileName

indexFileName

protected String indexFileName

refSeqFileName

protected String refSeqFileName

colorMode

protected String colorMode
Constructor Detail

SAMQueryTrack

public SAMQueryTrack()
Method Detail

factory

public static Track.TrackFactory factory()

getWidget

public com.google.gwt.user.client.ui.Widget getWidget()
Returns:
the track widget

setUp

public void setUp(TrackFrame trackFrame,
                  TrackGroup group)
Description copied from interface: Track
This method is invoked when TrackFrame and TrackGroup for this track become ready, that is, the track is drawable. Override this method to write initialization codes for your tracks.

Specified by:
setUp in interface Track
Overrides:
setUp in class TrackBase
group - the TrackGroup of this track

update

public void update(TrackWindow newWindow)

onChangeTrackWindow

public void onChangeTrackWindow(TrackWindow newWindow)
Description copied from interface: Track
An event handler when the track window location has changed

Specified by:
onChangeTrackWindow in interface Track
Overrides:
onChangeTrackWindow in class TrackBase

onChangeTrackConfig

public void onChangeTrackConfig(TrackConfigChange change)
Description copied from interface: Track
An event handler when some cofigurations of the track changes

Specified by:
onChangeTrackConfig in interface Track
Overrides:
onChangeTrackConfig in class TrackBase

restoreProperties

public void restoreProperties(CanonicalProperties properties)
Description copied from class: TrackBase
Override this method to restore internal state of the track

Specified by:
restoreProperties in interface Track
Overrides:
restoreProperties in class TrackBase


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