trigger:function(/*Event*/evt,/* Object */_this,/*DOMNode*/node,/* Function */callback,/* Object */obj,/* Number */subsequentDelay,/* Number */initialDelay){
// summary:
// Start a timed, repeating callback sequence.
// If already started, the function call is ignored.
// This method is not normally called by the user but can be
// when the normal listener code is insufficient.
// Parameters:
// evt: key or mouse event object to pass to the user callback
// _this: pointer to the user's widget space.
// node: the DOM node object to pass the the callback function
// callback: function to call until the sequence is stopped called with 3 parameters:
// count: integer representing number of repeated calls (0..n) with -1 indicating the iteration has stopped
// node: the DOM node object passed in
// evt: key or mouse event object
// obj: user space object used to uniquely identify each typematic sequence
// subsequentDelay: if > 1, the number of milliseconds until the 3->n events occur
// or else the fractional time multiplier for the next event's delay, default=0.9
// initialDelay: the number of milliseconds until the 2nd event occurs, default=500ms
if(obj!=this._obj){
this.stop();
this._initialDelay=initialDelay||500;
this._subsequentDelay=subsequentDelay||0.90;
this._obj=obj;
this._evt=evt;
this._node=node;
this._currentTimeout=-1;
this._count=-1;
this._callback=dojo.hitch(_this,callback);
this._fireEventAndReload();
}
},
stop:function(){
// summary:
// Stop an ongoing timed, repeating callback sequence.