/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/charts/beads/models/ChartArraySelectionModel.as
 * org.apache.flex.charts.beads.models.ChartArraySelectionModel
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.charts.beads.models.ChartArraySelectionModel');

goog.require('org.apache.flex.events.Event');
goog.require('org.apache.flex.html.beads.models.ArraySelectionModel');
goog.require('org.apache.flex.charts.core.IChartDataModel');
goog.require('org.apache.flex.utils.Language');



/**
 * @constructor
 * @extends {org.apache.flex.html.beads.models.ArraySelectionModel}
 * @implements {org.apache.flex.charts.core.IChartDataModel}
 */
org.apache.flex.charts.beads.models.ChartArraySelectionModel = function() {
  org.apache.flex.charts.beads.models.ChartArraySelectionModel.base(this, 'constructor');
};
goog.inherits(org.apache.flex.charts.beads.models.ChartArraySelectionModel, org.apache.flex.html.beads.models.ArraySelectionModel);


/**
 * @private
 * @type {org.apache.flex.charts.core.IChartSeries}
 */
org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype._series;


/**
 * @private
 * @type {org.apache.flex.charts.core.IChartSeries}
 */
org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype._rollOverSeries;


Object.defineProperties(org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype, /** @lends {org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype} */ {
/** @export */
selectedSeries: {
get: /** @this {org.apache.flex.charts.beads.models.ChartArraySelectionModel} */ function() {
  return this._series;
},
set: /** @this {org.apache.flex.charts.beads.models.ChartArraySelectionModel} */ function(value) {
  if (value != this._series) {
    this._series = value;
    this.dispatchEvent(new org.apache.flex.events.Event("selectedSeriesChanged"));
  }
}},
/** @export */
rollOverSeries: {
get: /** @this {org.apache.flex.charts.beads.models.ChartArraySelectionModel} */ function() {
  return this._rollOverSeries;
},
set: /** @this {org.apache.flex.charts.beads.models.ChartArraySelectionModel} */ function(value) {
  if (value != this._rollOverSeries) {
    this._rollOverSeries = value;
    this.dispatchEvent(new org.apache.flex.events.Event("rollOverSeriesChanged"));
  }
}}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ChartArraySelectionModel', qName: 'org.apache.flex.charts.beads.models.ChartArraySelectionModel'}], interfaces: [org.apache.flex.charts.core.IChartDataModel] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.charts.beads.models.ChartArraySelectionModel', org.apache.flex.charts.beads.models.ChartArraySelectionModel);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.charts.beads.models.ChartArraySelectionModel.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
        'selectedSeries': { type: 'IChartSeries', declaredBy: 'org.apache.flex.charts.beads.models.ChartArraySelectionModel'},
        'rollOverSeries': { type: 'IChartSeries', declaredBy: 'org.apache.flex.charts.beads.models.ChartArraySelectionModel'}
      };
    },
    methods: function () {
      return {
        'ChartArraySelectionModel': { type: '', declaredBy: 'org.apache.flex.charts.beads.models.ChartArraySelectionModel'}
      };
    }
  };
};