|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.utgenome.gwt.utgb.client.track.TrackBase org.utgenome.gwt.utgb.client.track.lib.TrackTreeTrack
public class TrackTreeTrack
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 |
---|
Fields inherited from class org.utgenome.gwt.utgb.client.track.TrackBase |
---|
_frame, _trackGroup, _trackInfo, frameConfig |
Constructor Summary | |
---|---|
TrackTreeTrack()
|
|
TrackTreeTrack(String trackName)
|
|
TrackTreeTrack(TrackInfo trackInfo)
|
Method Summary | |
---|---|
void |
draw()
draw the track widget |
static Track.TrackFactory |
factory()
|
com.google.gwt.user.client.ui.Widget |
getWidget()
|
void |
onAddTrackGroup(TrackGroup trackGroup)
|
void |
onDetachedFromTrackGroup(TrackGroup trackGroup)
|
void |
onInsertTrack(Track track)
When a new track is inserted to the group |
void |
onInsertTrack(Track track,
int beforeIndex)
When a new track is inserted to the group |
void |
onRemoveTrack(Track track)
When the track is removed from the group |
void |
onRemoveTrackGroup(TrackGroup trackGroup)
|
void |
onResizeTrack()
When the size of a track changes |
void |
onResizeTrackWindow(int newWindowSize)
|
void |
saveProperties(CanonicalProperties saveData)
Override this method to save internal state of the track into a Properties object |
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, onChange, onChangeTrackConfig, onChangeTrackGroupProperty, onChangeTrackHeight, onChangeTrackWindow, refresh, resolvePropertyValues, restoreProperties, 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 |
Constructor Detail |
---|
public TrackTreeTrack()
public TrackTreeTrack(String trackName)
public TrackTreeTrack(TrackInfo trackInfo)
Method Detail |
---|
public static Track.TrackFactory factory()
public com.google.gwt.user.client.ui.Widget getWidget()
getWidget
in interface Track
public void draw()
Track
draw
in interface Track
draw
in class TrackBase
public void setUp(TrackFrame trackFrame, TrackGroup group)
Track
TrackFrame
and TrackGroup
for this track become ready, that is, the
track is drawable. Override this method to write initialization codes for your tracks.
setUp
in interface Track
setUp
in class TrackBase
group
- the TrackGroup
of this trackpublic void onAddTrackGroup(TrackGroup trackGroup)
onAddTrackGroup
in interface TrackUpdateListener
public void onInsertTrack(Track track, int beforeIndex)
TrackUpdateListener
onInsertTrack
in interface TrackUpdateListener
public void onInsertTrack(Track track)
TrackUpdateListener
onInsertTrack
in interface TrackUpdateListener
public void onRemoveTrack(Track track)
TrackUpdateListener
onRemoveTrack
in interface TrackUpdateListener
public void onRemoveTrackGroup(TrackGroup trackGroup)
onRemoveTrackGroup
in interface TrackUpdateListener
public void onResizeTrack()
TrackUpdateListener
onResizeTrack
in interface TrackUpdateListener
public void saveProperties(CanonicalProperties saveData)
TrackBase
Properties
object
saveProperties
in interface Track
saveProperties
in class TrackBase
public void onResizeTrackWindow(int newWindowSize)
onResizeTrackWindow
in interface TrackUpdateListener
public void onDetachedFromTrackGroup(TrackGroup trackGroup)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |