add: /* *  Initialize parts of the band */ 
context: Timeline._Band = function(timeline, bandInfo, index) {    this._timeline = timeline;    this._bandInfo = bandInfo;    this._index = index;        this._locale = ("locale" in bandInfo) ? bandInfo.locale : Timeline.Platform.getDefaultLocale();    this._timeZone = ("timeZone" in bandInfo) ? bandInfo.timeZone : 0;    this._labeller = ("labeller" in bandInfo) ? bandInfo.labeller :         timeline.getUnit().createLabeller(this._locale, this._timeZone);        this._dragging = false;    this._changing = false;    this._onScrollListeners = [];        var b = this;    this._syncWithBand = null;    this._syncWithBandHandler = function(band) {        b._onHighlightBandScroll();    };    this._selectorListener = function(band) {        b._onHighlightBandScroll();    };        this._div = this._timeline.getDocument().createElement("div");    this._div.className = "timeline-band";    this._timeline.addDiv(this._div);        Timeline.DOM.registerEventWithObject(this._div, "mousedown", this, this._onMouseDown);    Timeline.DOM.registerEventWithObject(this._div, "mousemove", this, this._onMouseMove);    Timeline.DOM.registerEventWithObject(this._div, "mouseup", this, this._onMouseUp);    Timeline.DOM.registerEventWithObject(this._div, "mouseout", this, this._onMouseOut);        this._innerDiv = this._timeline.getDocument().createElement("div");    this._innerDiv.className = "timeline-band-inner";    this._div.appendChild(this._innerDiv);        this._ether = bandInfo.ether;    bandInfo.ether.initialize(timeline);            this._etherPainter = bandInfo.etherPainter;    bandInfo.etherPainter.initialize(this, timeline);        this._eventSource = bandInfo.eventSource;    if (this._eventSource) {        this._eventSource.addListener({            onAddMany: function() { b._onAddMany(); },            onClear:   function() { b._onClear(); }        });    }            this._eventPainter = bandInfo.eventPainter;    bandInfo.eventPainter.initialize(this, timeline);        this._decorators = ("decorators" in bandInfo) ? bandInfo.decorators : [];    for (var i = 0; i < this._decorators.length; i++) {        this._decorators[i].initialize(this, timeline);    }            this._bubble = null;};
meta: 7652	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7652/f317925303af45830955260c944c12ef9dbec19a/timeline.js/clean/src/main/webapp/api/scripts/timeline.js