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

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

public class ChromosomeMapTrack
extends TrackBase

ChromosomeMapTrack is for visualizing Chromosome Map.

 -track
  -class: ChromosomeMapTrack
 
 
 

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  ChrRange chrRange
           
protected  com.google.gwt.user.client.ui.Frame frame
           
protected  boolean isWidgetReady
           
protected  com.google.gwt.user.client.ui.FlexTable layoutPanel
           
protected  com.google.gwt.user.client.ui.Image trackImage
           
 
Fields inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
_frame, _trackGroup, _trackInfo, frameConfig
 
Constructor Summary
ChromosomeMapTrack()
           
ChromosomeMapTrack(String string)
           
 
Method Summary
 void draw()
          draw the track widget
static Track.TrackFactory factory()
           
protected  String getDisplayType()
           
protected  int getLeftMargin()
           
protected  String getTrackBaseURL()
           
protected  String getTrackURL()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void onChange(TrackGroupPropertyChange change, TrackWindow newWindow)
          Handle change event.
 void onChangeTrackConfig(TrackConfigChange change)
          An event handler when some cofigurations of the track changes
 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.
 
Methods inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
beforeChangeTrackWindow, error, getBrowserService, getClassName, getConfig, getCoordinate, getDefaultWindowHeight, getFrame, getMinimumWindowHeight, getName, getTrackGroup, getTrackGroupProperty, getTrackGroupProperty, getTrackInfo, getTrackWindow, isInitialized, isTrack, isTrackGroup, loadView, onChangeTrackGroupProperty, onChangeTrackHeight, onChangeTrackWindow, refresh, resolvePropertyValues, restoreProperties, 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

layoutPanel

protected com.google.gwt.user.client.ui.FlexTable layoutPanel

trackImage

protected com.google.gwt.user.client.ui.Image trackImage

frame

protected com.google.gwt.user.client.ui.Frame frame

isWidgetReady

protected boolean isWidgetReady

chrRange

protected ChrRange chrRange
Constructor Detail

ChromosomeMapTrack

public ChromosomeMapTrack(String string)

ChromosomeMapTrack

public ChromosomeMapTrack()
Method Detail

factory

public static Track.TrackFactory factory()

getWidget

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

draw

public void draw()
Description copied from interface: Track
draw the track widget

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

getLeftMargin

protected int getLeftMargin()

getDisplayType

protected String getDisplayType()

getTrackBaseURL

protected String getTrackBaseURL()

getTrackURL

protected String getTrackURL()

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

onChange

public void onChange(TrackGroupPropertyChange change,
                     TrackWindow newWindow)
Description copied from interface: TrackGroupPropertyChangeListener
Handle change event.

Specified by:
onChange in interface Track
Specified by:
onChange in interface TrackGroupPropertyChangeListener
Overrides:
onChange in class TrackBase
Parameters:
change - property changes. null value means no property change
newWindow - window changes. null value means no window changes

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


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