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

goog.provide('org.apache.royale.jewel.beads.views.AlertTitleBarView');
/* Royale Static Dependency List: org.apache.royale.jewel.beads.views.AlertTitleBarView*/

goog.require('org.apache.royale.html.MXMLBeadView');
goog.require('org.apache.royale.binding.MXMLBeadViewDataBinding');
goog.require('org.apache.royale.html.beads.layouts.LayoutChangeNotifier');
goog.require('org.apache.royale.jewel.Label');
goog.require('org.apache.royale.core.ITitleBarModel');



/**
 * @constructor
 * @extends {org.apache.royale.html.MXMLBeadView}
 */
org.apache.royale.jewel.beads.views.AlertTitleBarView = function() {
  org.apache.royale.jewel.beads.views.AlertTitleBarView.base(this, 'constructor');
  
  /**
   * @private
   * @type {org.apache.royale.binding.MXMLBeadViewDataBinding}
   */
  this.$ID0_;
  
  /**
   * @private
   * @type {org.apache.royale.html.beads.layouts.LayoutChangeNotifier}
   */
  this.$ID1_;
  
  /**
   * @private
   * @type {org.apache.royale.jewel.Label}
   */
  this.titleLabel_;
  
  /**
   * @private
   * @type {Array}
   */
  this.mxmldd;
  
  /**
   * @private
   * @type {Array}
   */
  this.mxmldp;

  this.generateMXMLAttributes
  ([1,
'beads',
null, [org.apache.royale.binding.MXMLBeadViewDataBinding, 1, '_id', true, '$ID0', 0, 0, null, org.apache.royale.html.beads.layouts.LayoutChangeNotifier, 1, '_id', true, '$ID1', 0, 0, null],
0,
0
  ]);
  
};
goog.inherits(org.apache.royale.jewel.beads.views.AlertTitleBarView, org.apache.royale.html.MXMLBeadView);


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



Object.defineProperties(org.apache.royale.jewel.beads.views.AlertTitleBarView.prototype, /** @lends {org.apache.royale.jewel.beads.views.AlertTitleBarView.prototype} */ {
/** @export */
    titleLabel: {
    /** @this {org.apache.royale.jewel.beads.views.AlertTitleBarView} */
    get: function() {
      return this.titleLabel_;
    },
    /** @this {org.apache.royale.jewel.beads.views.AlertTitleBarView} */
    set: function(value) {
      if (value != this.titleLabel_) {
        this.titleLabel_ = value;
        this.dispatchEvent(org.apache.royale.events.ValueChangeEvent.createUpdateEvent(this, 'titleLabel', null, value));
      }
    }
  },
  'MXMLDescriptor': {
    /** @this {org.apache.royale.jewel.beads.views.AlertTitleBarView} */
    get: function() {
      {
        if (this.mxmldd == undefined)
        {
          /** @type {Array} */
          var arr = org.apache.royale.jewel.beads.views.AlertTitleBarView.superClass_.get__MXMLDescriptor.apply(this);
          /** @type {Array} */
          var data = [
      org.apache.royale.jewel.Label,
1,
'_id',
true,
'titleLabel',
0,
0,
null
      ];
        
          if (arr)
            this.mxmldd = arr.concat(data);
          else
            this.mxmldd = data;
        }
        return this.mxmldd;
      }
      }
    }
  });
  /**
   * @export
   */
  org.apache.royale.jewel.beads.views.AlertTitleBarView.prototype._bindings = [
  2,
  ["titleLabel", "text"],
  null,
  ["$ID1", "watchedProperty"],
  function() { return org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.ITitleBarModel, true).title; },
  null,
  ["titleLabel", "text"],
  0,
  2,
  "titleLabel",
  "valueChange",
  0,
  null,
  [
  1,
  2,
  "text",
  "textChange",
  0,
  null,
  null,
  null],
  2,
  2,
  "model",
  "__NoChangeEvent__",
  1,
  null,
  [
  3,
  2,
  "title",
  "titleChange",
  1,
  null,
  null,
  null]];
  /**
   * Metadata
   *
   * @type {Object.<string, Array.<Object>>}
   */
  org.apache.royale.jewel.beads.views.AlertTitleBarView.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'AlertTitleBarView', qName: 'org.apache.royale.jewel.beads.views.AlertTitleBarView', kind: 'class'  }] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.beads.views.AlertTitleBarView.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {return {};},
    methods: function () {
      return {
        'AlertTitleBarView': { type: '', declaredBy: 'org.apache.royale.jewel.beads.views.AlertTitleBarView'}
      };
    }
  };
};

  
  