Sha256: 2c3f0c782019d1251afb7d96e2952b1a251b3c8ced592b8b99c920b7326bca9f

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

define("dojox/charting/action2d/ChartAction", ["dojo/_base/connect", "dojo/_base/declare", "./Base"], 
	function(hub, declare, Base){

	return declare("dojox.charting.action2d.ChartAction", Base, {
		// summary:
		//		Base action class for chart actions.
	
		constructor: function(chart, plot){
			// summary:
			//		Create a new base chart action.
			// chart: dojox/charting/Chart
			//		The chart this action applies to.
			// plot: String|dojox/charting/plot2d/Base?
			//		Optional target plot for this chart action.  Default is "default".
		},
	
		connect: function(){
			// summary:
			//		Connect this action to the chart.
			for(var i = 0; i < this._listeners.length; ++i){
				this._listeners[i].handle = hub.connect(this.chart.node, this._listeners[i].eventName,
						this, this._listeners[i].methodName);
			}
		},
	
		disconnect: function(){
			// summary:
			//		Disconnect this action from the chart.
			for(var i = 0; i < this._listeners.length; ++i){
				hub.disconnect(this._listeners[i].handle);
				delete this._listeners[i].handle;
			}
		}
});

});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dojox-rails-0.11.0 vendor/assets/javascripts/charting/action2d/ChartAction.js.uncompressed.js