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

goog.provide('org.apache.royale.jewel.SectionContent');

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.jewel.supportClasses.IActivable');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9.4
 * @constructor
 * @extends {org.apache.royale.jewel.Group}
 * @implements {org.apache.royale.jewel.supportClasses.IActivable}
 */
org.apache.royale.jewel.SectionContent = function() {
  org.apache.royale.jewel.SectionContent.base(this, 'constructor');
  this.typeNames = "jewel section";
};
goog.inherits(org.apache.royale.jewel.SectionContent, org.apache.royale.jewel.Group);


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


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


/**
 * @private
 * @type {boolean}
 */
org.apache.royale.jewel.SectionContent.prototype.org_apache_royale_jewel_SectionContent__isActive;


org.apache.royale.jewel.SectionContent.prototype.get__isActive = function() {
  return this.org_apache_royale_jewel_SectionContent__isActive;
};


org.apache.royale.jewel.SectionContent.prototype.set__isActive = function(value) {
  if (this.org_apache_royale_jewel_SectionContent__isActive != value) {
    this.org_apache_royale_jewel_SectionContent__isActive = value;
    this.toggleClass("is-active", this.org_apache_royale_jewel_SectionContent__isActive);
  }
};


Object.defineProperties(org.apache.royale.jewel.SectionContent.prototype, /** @lends {org.apache.royale.jewel.SectionContent.prototype} */ {
/**
  * @export
  * @type {boolean} */
isActive: {
get: org.apache.royale.jewel.SectionContent.prototype.get__isActive,
set: org.apache.royale.jewel.SectionContent.prototype.set__isActive}}
);


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



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