BaseTrack
- Top level track object for displaying information in the Anno-J genome browser.
- Provides only basic functionality and is best suited for static information (eg, flatfiles)
- For creating specific data tracks it is recommended that you extend the BrowserTrack or DataTrack
Inherits:
none
Configuration Options
// Config options for BaseTrack (defaults shown)
var params = {
id : Ext.id(), // a unique ID for the track, if not provided then one will be automatically assigned
name : 'Track', // the name of the track, used in the track selector tree and as the track title
path : '', // path used to position the track in the track selector tree, eg /All Tracks/My Track
datasource : '', // URL to the track's data provider
minHeight : 40, // the minimum height of the track (if resizable)
maxHeight : 1000, // the maximum height of the track (if resizable)
height : 40, // the height of the track when it is first created
resizable : true, // allow the track to be vertically resized by the user
showControls : false, // show the track's controls when it is first created
cls : 'AJ_track', // class name to apply to the div that contains the track
iconCls : 'silk_bricks' // class name to use for the track's icon
};
Code
Source: minified.js | full.js
* Please report bugs to the most recently listed engineer
| Version | Engineer(s) | Message |
| 2008-May-27 | tontij01(at)student.uwa.edu.au | First formal release with Anno-J v1.0 |