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

goog.provide('org.apache.royale.html.supportClasses.RadioButtonIcon');

goog.require('org.apache.royale.core.WrappedHTMLElement');



/**
 * @constructor
 */
org.apache.royale.html.supportClasses.RadioButtonIcon = function() {
  this.createElement();
  this.className = 'RadioButtonIcon';
};


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


/**
 * @export
 * @type {org.apache.royale.core.WrappedHTMLElement}
 */
org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.element;


/**
 * @private
 * @type {string}
 */
org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.org_apache_royale_html_supportClasses_RadioButtonIcon__className;


/**
 * @private
 * @type {string}
 */
org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.org_apache_royale_html_supportClasses_RadioButtonIcon__id;


/**
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @royaleignorecoercion HTMLInputElement
 * @royaleignorecoercion Text
 * @protected
 * @return {Object}
 */
org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.createElement = function() {
  var /** @type {HTMLInputElement} */ input = document.createElement('input');
  input.type = 'radio';
  this.element = input;
  this.element.royale_wrapper = this;
  return this.element;
};


org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__positioner = function() {
  return this.element;
};


org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__className = function() {
  return this.org_apache_royale_html_supportClasses_RadioButtonIcon__className;
};


org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.set__className = function(value) {
  this.org_apache_royale_html_supportClasses_RadioButtonIcon__className = value;
  this.element.className = value;
};


org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__id = function() {
  return this.org_apache_royale_html_supportClasses_RadioButtonIcon__id;
};


org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.set__id = function(value) {
  this.org_apache_royale_html_supportClasses_RadioButtonIcon__id = value;
  this.element.id = value;
};


Object.defineProperties(org.apache.royale.html.supportClasses.RadioButtonIcon.prototype, /** @lends {org.apache.royale.html.supportClasses.RadioButtonIcon.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.WrappedHTMLElement} */
positioner: {
get: org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__positioner},
/**
  * @export
  * @type {string} */
className: {
get: org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__className,
set: org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.set__className},
/**
  * @export
  * @type {string} */
id: {
get: org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.get__id,
set: org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.set__id}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.supportClasses.RadioButtonIcon.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
        'element': { type: 'org.apache.royale.core.WrappedHTMLElement'}
      };
    },
    accessors: function () {
      return {
        'positioner': { type: 'org.apache.royale.core.WrappedHTMLElement', access: 'readonly', declaredBy: 'org.apache.royale.html.supportClasses.RadioButtonIcon'},
        'className': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.html.supportClasses.RadioButtonIcon'},
        'id': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.html.supportClasses.RadioButtonIcon'}
      };
    },
    methods: function () {
      return {
        'RadioButtonIcon': { type: '', declaredBy: 'org.apache.royale.html.supportClasses.RadioButtonIcon'}
      };
    }
  };
};