org.utgenome.gwt.utgb.client.track.lib.old
Class OldUTGBTrack

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.track.TrackBase
      extended by org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack
All Implemented Interfaces:
Track, TrackEntry, TrackGroupPropertyChangeListener
Direct Known Subclasses:
OldUTGBRulerTrack

public class OldUTGBTrack
extends TrackBase

Author:
ssksn

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  List<org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.AcceptSpeciesEntry> acceptSpeciesEntries
           
protected  org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.DescriptionURLInfo currentDescriptionURLInfo
           
protected  List<org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.DescriptionURLInfo> descriptionURLList
           
protected  List<OldUTGBOptionAttribute> optionAttributes
           
 
Fields inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
_frame, _trackGroup, _trackInfo, frameConfig
 
Constructor Summary
OldUTGBTrack()
           
 
Method Summary
 void draw()
          draw the track widget
 void eraseMessage()
           
static Track.TrackFactory factory()
           
 int getDefaultWindowHeight()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void onChangeTrackConfig(TrackConfigChange change)
          An event handler when some cofigurations of the track changes
 void onChangeTrackGroupProperty(TrackGroupPropertyChange change)
          An event handler when some properties shared within the track group has changed
 void onChangeTrackWindow(TrackWindow newWindow)
          An event handler when the track window location has changed
protected  void parseDescriptionXML(String descriptionXMLURL)
           
 void restoreProperties(CanonicalProperties properties)
          Override this method to restore internal state of the track
 void saveProperties(CanonicalProperties saveData)
          Override this method to save internal state of the track into a Properties object
 void setDescriptionXML(String descriptionXMLURL)
           
 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.
protected  void updateDescriptionXML()
           
 void writeMessage(String message)
           
 
Methods inherited from class org.utgenome.gwt.utgb.client.track.TrackBase
beforeChangeTrackWindow, error, getBrowserService, getClassName, getConfig, getCoordinate, getFrame, getMinimumWindowHeight, getName, getTrackGroup, getTrackGroupProperty, getTrackGroupProperty, getTrackInfo, getTrackWindow, isInitialized, isTrack, isTrackGroup, loadView, onChange, onChangeTrackHeight, refresh, resolvePropertyValues, 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

descriptionURLList

protected final List<org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.DescriptionURLInfo> descriptionURLList

currentDescriptionURLInfo

protected org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.DescriptionURLInfo currentDescriptionURLInfo

acceptSpeciesEntries

protected final List<org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBTrack.AcceptSpeciesEntry> acceptSpeciesEntries

optionAttributes

protected final List<OldUTGBOptionAttribute> optionAttributes
Constructor Detail

OldUTGBTrack

public OldUTGBTrack()
Method Detail

factory

public static Track.TrackFactory factory()

getDefaultWindowHeight

public int getDefaultWindowHeight()
Specified by:
getDefaultWindowHeight in interface Track
Overrides:
getDefaultWindowHeight in class TrackBase
Returns:
default height of the track window

getWidget

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

setDescriptionXML

public void setDescriptionXML(String descriptionXMLURL)

draw

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

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

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

onChangeTrackGroupProperty

public void onChangeTrackGroupProperty(TrackGroupPropertyChange change)
Description copied from interface: Track
An event handler when some properties shared within the track group has changed

Specified by:
onChangeTrackGroupProperty in interface Track
Overrides:
onChangeTrackGroupProperty 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

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

updateDescriptionXML

protected void updateDescriptionXML()

parseDescriptionXML

protected void parseDescriptionXML(String descriptionXMLURL)

writeMessage

public void writeMessage(String message)

eraseMessage

public void eraseMessage()

saveProperties

public void saveProperties(CanonicalProperties saveData)
Description copied from class: TrackBase
Override this method to save internal state of the track into a Properties object

Specified by:
saveProperties in interface Track
Overrides:
saveProperties 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.