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

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

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.core.UIBase');
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.TextPrompt = function() {
};


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


/**
 * @private
 * @type {string}
 */
org.apache.royale.jewel.beads.controls.textinput.TextPrompt.prototype.org_apache_royale_jewel_beads_controls_textinput_TextPrompt__prompt;


/**
 * @private
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.jewel.beads.controls.textinput.TextPrompt.prototype.org_apache_royale_jewel_beads_controls_textinput_TextPrompt__strand;


org.apache.royale.jewel.beads.controls.textinput.TextPrompt.prototype.get__prompt = function() {
  return this.org_apache_royale_jewel_beads_controls_textinput_TextPrompt__prompt;
};


org.apache.royale.jewel.beads.controls.textinput.TextPrompt.prototype.set__prompt = function(value) {
  this.org_apache_royale_jewel_beads_controls_textinput_TextPrompt__prompt = value;
};


org.apache.royale.jewel.beads.controls.textinput.TextPrompt.prototype.set__strand = function(value) {
  this.org_apache_royale_jewel_beads_controls_textinput_TextPrompt__strand = value;
  
  var /** @type {org.apache.royale.core.UIBase} */ host = org.apache.royale.utils.Language.as(value, org.apache.royale.core.UIBase);
  var /** @type {HTMLInputElement} */ e = host.element;
  e.placeholder = this.prompt;
};


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


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



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