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

goog.provide('org.apache.royale.jewel.beads.views.ComboBoxPopUpView');

goog.require('org.apache.royale.core.BeadViewBase');
goog.require('org.apache.royale.core.IBeadModel');
goog.require('org.apache.royale.core.IParent');
goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.jewel.List');
goog.require('org.apache.royale.utils.Language');



/**
 *  constructor
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9.4
 * @constructor
 * @extends {org.apache.royale.core.BeadViewBase}
 */
org.apache.royale.jewel.beads.views.ComboBoxPopUpView = function() {
  org.apache.royale.jewel.beads.views.ComboBoxPopUpView.base(this, 'constructor');
};
goog.inherits(org.apache.royale.jewel.beads.views.ComboBoxPopUpView, org.apache.royale.core.BeadViewBase);


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


/**
 * @private
 * @type {org.apache.royale.jewel.List}
 */
org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list;


org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.set__strand = function(value) {
  this._strand = value;
  var /** @type {org.apache.royale.core.IBeadModel} */ model = org.apache.royale.utils.Language.as(this._strand.getBeadByType(org.apache.royale.core.IBeadModel), org.apache.royale.core.IBeadModel);
  this.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list = new org.apache.royale.jewel.List();
  this.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list.model = model;
  org.apache.royale.utils.Language.as(this._strand, org.apache.royale.core.IParent, true).addElement(this.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list);
};


org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.get__list = function() {
  return this.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list;
};


org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.set__list = function(value) {
  this.org_apache_royale_jewel_beads_views_ComboBoxPopUpView__list = value;
};


Object.defineProperties(org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype, /** @lends {org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.IStrand} */
strand: {
set: org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.set__strand},
/**
  * @export
  * @type {org.apache.royale.jewel.List} */
list: {
get: org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.get__list,
set: org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.set__list}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.beads.views.ComboBoxPopUpView.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'strand': { type: 'org.apache.royale.core.IStrand', access: 'writeonly', declaredBy: 'org.apache.royale.jewel.beads.views.ComboBoxPopUpView'},
        'list': { type: 'org.apache.royale.jewel.List', access: 'readwrite', declaredBy: 'org.apache.royale.jewel.beads.views.ComboBoxPopUpView'}
      };
    },
    methods: function () {
      return {
        'ComboBoxPopUpView': { type: '', declaredBy: 'org.apache.royale.jewel.beads.views.ComboBoxPopUpView'}
      };
    }
  };
};