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

goog.provide('org.apache.royale.jewel.beads.controls.textinput.LowerCase');

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.events.IEventDispatcher');
goog.require('org.apache.royale.jewel.supportClasses.textinput.TextInputBase');
goog.require('org.apache.royale.core.IBead');
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
 * @implements {org.apache.royale.core.IBead}
 */
org.apache.royale.jewel.beads.controls.textinput.LowerCase = function() {
};


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


/**
 * @protected
 * @type {org.apache.royale.jewel.supportClasses.textinput.TextInputBase}
 */
org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.t;


/**
 * @asprivate
 * @private
 * @param {org.apache.royale.events.Event} event
 */
org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.org_apache_royale_jewel_beads_controls_textinput_LowerCase_changeToLowerCase = function(event) {
  this.t.text = this.t.text.toLowerCase();
};


org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.set__strand = function(value) {
  this.t = org.apache.royale.utils.Language.as(value, org.apache.royale.jewel.supportClasses.textinput.TextInputBase);
  org.apache.royale.utils.Language.as(this.t, org.apache.royale.events.IEventDispatcher, true).addEventListener(org.apache.royale.events.Event.CHANGE, org.apache.royale.utils.Language.closure(this.org_apache_royale_jewel_beads_controls_textinput_LowerCase_changeToLowerCase, this, 'changeToLowerCase'));
  this.t.text = this.t.text.toLowerCase();
};


Object.defineProperties(org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype, /** @lends {org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.core.IStrand} */
strand: {
set: org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.set__strand}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.ROYALE_CLASS_INFO = { names: [{ name: 'LowerCase', qName: 'org.apache.royale.jewel.beads.controls.textinput.LowerCase', kind: 'class' }], interfaces: [org.apache.royale.core.IBead] };



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.beads.controls.textinput.LowerCase.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'strand': { type: 'org.apache.royale.core.IStrand', access: 'writeonly', declaredBy: 'org.apache.royale.jewel.beads.controls.textinput.LowerCase'}
      };
    },
    methods: function () {
      return {
        'LowerCase': { type: '', declaredBy: 'org.apache.royale.jewel.beads.controls.textinput.LowerCase'}
      };
    }
  };
};