/**
 * Generated by Apache Royale Compiler from org\apache\royale\jewel\supportClasses\topappbar\TopAppBarTitle.as
 * org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle');

goog.require('org.apache.royale.core.WrappedHTMLElement');
goog.require('org.apache.royale.html.util.addElementToWrapper');
goog.require('org.apache.royale.jewel.Group');
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.jewel.Group}
 */
org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle = function() {
  org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.base(this, 'constructor');
  this.typeNames = "jewel topappbartitle";
};
goog.inherits(org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle, org.apache.royale.jewel.Group);


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle', org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle);


/**
 * @protected
 * @type {Text}
 */
org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.textNode;


/**
 * @private
 * @type {string}
 */
org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.org_apache_royale_jewel_supportClasses_topappbar_TopAppBarTitle__text = "";


/**
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @protected
 * @override
 */
org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.createElement = function() {
  return org.apache.royale.html.util.addElementToWrapper(this, 'span');
};


org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.get__text = function() {
  return this.org_apache_royale_jewel_supportClasses_topappbar_TopAppBarTitle__text;
};


org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.set__text = function(value) {
  this.org_apache_royale_jewel_supportClasses_topappbar_TopAppBarTitle__text = value;
  if (this.textNode == null) {
    this.textNode = org.apache.royale.utils.Language.as(document.createTextNode(''), Text);
    this.element.appendChild(this.textNode);
  }
  this.textNode.nodeValue = value;
};


Object.defineProperties(org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype, /** @lends {org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype} */ {
/**
  * @export
  * @type {string} */
text: {
get: org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.get__text,
set: org.apache.royale.jewel.supportClasses.topappbar.TopAppBarTitle.prototype.set__text}}
);


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



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