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

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

goog.require('org.apache.royale.core.WrappedHTMLElement');
goog.require('org.apache.royale.html.util.addElementToWrapper');
goog.require('org.apache.royale.jewel.Group');



/**
 *  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.TopAppBarSection = function() {
  org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.base(this, 'constructor');
  this.typeNames = "jewel topappbarsection";
};
goog.inherits(org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection, org.apache.royale.jewel.Group);


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


/**
 * @protected
 * @type {boolean}
 */
org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype._alignRight;


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


org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype.get__alignRight = function() {
  return this._alignRight;
};


org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype.set__alignRight = function(value) {
  if (this._alignRight != value) {
    this._alignRight = value;
    this.toggleClass("alignRight", this._alignRight);
  }
};


Object.defineProperties(org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype, /** @lends {org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype} */ {
/**
  * @export
  * @type {boolean} */
alignRight: {
get: org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype.get__alignRight,
set: org.apache.royale.jewel.supportClasses.topappbar.TopAppBarSection.prototype.set__alignRight}}
);


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



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