org.utgenome.gwt.utgb.client.track.lib
Class MiniBrowserTrack
java.lang.Object
org.utgenome.gwt.utgb.client.track.TrackBase
org.utgenome.gwt.utgb.client.track.lib.MiniBrowserTrack
- All Implemented Interfaces:
- Track, TrackEntry, TrackGroupPropertyChangeListener
public class MiniBrowserTrack
- extends TrackBase
Track for embedding HTML page via iframe tag.
Usage:
-track
-name: Browser
-class: MiniBrowser
-property
-URL: http://www.google.com
-type: {frame or image}
- Author:
- leo
Methods inherited from class org.utgenome.gwt.utgb.client.track.TrackBase |
beforeChangeTrackWindow, error, getBrowserService, getClassName, getCoordinate, getDefaultWindowHeight, getFrame, getMinimumWindowHeight, getName, getTrackGroup, getTrackGroupProperty, getTrackGroupProperty, getTrackInfo, getTrackWindow, isInitialized, isTrack, isTrackGroup, loadView, onChange, onChangeTrackGroupProperty, onChangeTrackHeight, onChangeTrackWindow, 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 |
config
protected TrackConfig config
MiniBrowserTrack
public MiniBrowserTrack()
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
getTrackURL
protected String getTrackURL()
getConfig
public TrackConfig getConfig()
- Description copied from interface:
Track
- Get the
TrackConfig
panel. Override this method to return your own configuration panel
- Specified by:
getConfig
in interface Track
- Overrides:
getConfig
in class TrackBase
- Returns:
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
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
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.