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

goog.provide('org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig');

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.jewel.beads.models.DateChooserModel');
goog.require('org.apache.royale.core.IDateControlConfigBead');
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.IDateControlConfigBead}
 */
org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig = function() {
};


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


/**
 * @private
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig.prototype.org_apache_royale_jewel_beads_controls_datefield_SpanishDateComponentConfig__strand;


org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig.prototype.set__strand = function(value) {
  this.org_apache_royale_jewel_beads_controls_datefield_SpanishDateComponentConfig__strand = value;
  var /** @type {org.apache.royale.jewel.beads.models.DateChooserModel} */ model = org.apache.royale.utils.Language.as(this.org_apache_royale_jewel_beads_controls_datefield_SpanishDateComponentConfig__strand.getBeadByType(org.apache.royale.jewel.beads.models.DateChooserModel), org.apache.royale.jewel.beads.models.DateChooserModel);
  model.dayNames = ['D', 'L', 'M', 'X', 'J', 'V', 'S'];
  model.monthNames = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Deciembre"];
  model.firstDayOfWeek = 1;
};


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


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig.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.datefield.SpanishDateComponentConfig'}
      };
    },
    methods: function () {
      return {
        'SpanishDateComponentConfig': { type: '', declaredBy: 'org.apache.royale.jewel.beads.controls.datefield.SpanishDateComponentConfig'}
      };
    }
  };
};