/**
 * Generated by Apache Royale Compiler from org\apache\royale\html\beads\models\ComboBoxModel.as
 * org.apache.royale.html.beads.models.ComboBoxModel
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.royale.html.beads.models.ComboBoxModel');

goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.html.beads.models.ArraySelectionModel');
goog.require('org.apache.royale.core.IBead');
goog.require('org.apache.royale.core.IComboBoxModel');



/**
 *  constructor.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @extends {org.apache.royale.html.beads.models.ArraySelectionModel}
 * @implements {org.apache.royale.core.IBead}
 * @implements {org.apache.royale.core.IComboBoxModel}
 */
org.apache.royale.html.beads.models.ComboBoxModel = function() {
  org.apache.royale.html.beads.models.ComboBoxModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.html.beads.models.ComboBoxModel, org.apache.royale.html.beads.models.ArraySelectionModel);


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.html.beads.models.ComboBoxModel', org.apache.royale.html.beads.models.ComboBoxModel);


/**
 * @private
 * @type {string}
 */
org.apache.royale.html.beads.models.ComboBoxModel.prototype.org_apache_royale_html_beads_models_ComboBoxModel__text;


/**
 * @private
 * @type {string}
 */
org.apache.royale.html.beads.models.ComboBoxModel.prototype.org_apache_royale_html_beads_models_ComboBoxModel__html;


org.apache.royale.html.beads.models.ComboBoxModel.prototype.get__text = function() {
  return this.org_apache_royale_html_beads_models_ComboBoxModel__text;
};


org.apache.royale.html.beads.models.ComboBoxModel.prototype.set__text = function(value) {
  if (value != this.org_apache_royale_html_beads_models_ComboBoxModel__text) {
    this.org_apache_royale_html_beads_models_ComboBoxModel__text = value;
    this.dispatchEvent(new org.apache.royale.events.Event("textChange"));
  }
};


org.apache.royale.html.beads.models.ComboBoxModel.prototype.get__html = function() {
  return this.org_apache_royale_html_beads_models_ComboBoxModel__html;
};


org.apache.royale.html.beads.models.ComboBoxModel.prototype.set__html = function(value) {
  if (value != this.org_apache_royale_html_beads_models_ComboBoxModel__html) {
    this.org_apache_royale_html_beads_models_ComboBoxModel__html = value;
    this.dispatchEvent(new org.apache.royale.events.Event("htmlChange"));
  }
};


Object.defineProperties(org.apache.royale.html.beads.models.ComboBoxModel.prototype, /** @lends {org.apache.royale.html.beads.models.ComboBoxModel.prototype} */ {
/**
  * @export
  * @type {string} */
text: {
get: org.apache.royale.html.beads.models.ComboBoxModel.prototype.get__text,
set: org.apache.royale.html.beads.models.ComboBoxModel.prototype.set__text},
/**
  * @export
  * @type {string} */
html: {
get: org.apache.royale.html.beads.models.ComboBoxModel.prototype.get__html,
set: org.apache.royale.html.beads.models.ComboBoxModel.prototype.set__html}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.html.beads.models.ComboBoxModel.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'ComboBoxModel', qName: 'org.apache.royale.html.beads.models.ComboBoxModel', kind: 'class' }], interfaces: [org.apache.royale.core.IBead, org.apache.royale.core.IComboBoxModel] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.beads.models.ComboBoxModel.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'text': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.html.beads.models.ComboBoxModel'},
        'html': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.html.beads.models.ComboBoxModel'}
      };
    },
    methods: function () {
      return {
        'ComboBoxModel': { type: '', declaredBy: 'org.apache.royale.html.beads.models.ComboBoxModel'}
      };
    }
  };
};