org.utgenome.gwt.utgb.client.track
Interface TrackUpdateListener

All Known Implementing Classes:
TrackQueue, TrackTreeTrack, TrackUpdateListenerAdapter

public interface TrackUpdateListener

An interface for handling addition and removal of tracks

Author:
leo

Method Summary
 void onAddTrackGroup(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)
           
 

Method Detail

onRemoveTrack

void onRemoveTrack(Track track)
When the track is removed from the group

Parameters:
track -

onInsertTrack

void onInsertTrack(Track track)
When a new track is inserted to the group

Parameters:
track -

onAddTrackGroup

void onAddTrackGroup(TrackGroup trackGroup)
Parameters:
trackGroup -

onRemoveTrackGroup

void onRemoveTrackGroup(TrackGroup trackGroup)
Parameters:
trackGroup -

onInsertTrack

void onInsertTrack(Track track,
                   int beforeIndex)
When a new track is inserted to the group

Parameters:
track -
beforeIndex -

onResizeTrack

void onResizeTrack()
When the size of a track changes


onResizeTrackWindow

void onResizeTrackWindow(int newWindowSize)


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