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

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

goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.jewel.beads.models.ArrayListSelectionModel');
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.9.4
 * @constructor
 * @extends {org.apache.royale.jewel.beads.models.ArrayListSelectionModel}
 * @implements {org.apache.royale.core.IBead}
 * @implements {org.apache.royale.core.IComboBoxModel}
 */
org.apache.royale.jewel.beads.models.ComboBoxModel = function() {
  org.apache.royale.jewel.beads.models.ComboBoxModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.jewel.beads.models.ComboBoxModel, org.apache.royale.jewel.beads.models.ArrayListSelectionModel);


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


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


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


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


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


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


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


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


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



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