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

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

goog.require('org.apache.royale.core.ITextModel');
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.FormHeading = function() {
  org.apache.royale.jewel.FormHeading.base(this, 'constructor');
  this.typeNames = "jewel formheading";
};
goog.inherits(org.apache.royale.jewel.FormHeading, org.apache.royale.jewel.Group);


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


org.apache.royale.jewel.FormHeading.prototype.get__label = function() {
  return org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.ITextModel, true).text;
};


org.apache.royale.jewel.FormHeading.prototype.set__label = function(value) {
  org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.ITextModel, true).text = value;
};


org.apache.royale.jewel.FormHeading.prototype.get__html = function() {
  return org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.ITextModel, true).html;
};


org.apache.royale.jewel.FormHeading.prototype.set__html = function(value) {
  org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.ITextModel, true).html = value;
};


Object.defineProperties(org.apache.royale.jewel.FormHeading.prototype, /** @lends {org.apache.royale.jewel.FormHeading.prototype} */ {
/**
  * @export
  * @type {string} */
label: {
get: org.apache.royale.jewel.FormHeading.prototype.get__label,
set: org.apache.royale.jewel.FormHeading.prototype.set__label},
/**
  * @export
  * @type {string} */
html: {
get: org.apache.royale.jewel.FormHeading.prototype.get__html,
set: org.apache.royale.jewel.FormHeading.prototype.set__html}}
);


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



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