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

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

goog.require('org.apache.royale.core.IDateChooserModel');
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.DateChooser = function() {
  org.apache.royale.jewel.DateChooser.base(this, 'constructor');
  this.typeNames = "jewel datechooser";
  this.selectedDate = new Date();
};
goog.inherits(org.apache.royale.jewel.DateChooser, org.apache.royale.jewel.Group);


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


org.apache.royale.jewel.DateChooser.prototype.get__selectedDate = function() {
  return org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.IDateChooserModel, true).selectedDate;
};


org.apache.royale.jewel.DateChooser.prototype.set__selectedDate = function(value) {
  org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.IDateChooserModel, true).selectedDate = value;
};


Object.defineProperties(org.apache.royale.jewel.DateChooser.prototype, /** @lends {org.apache.royale.jewel.DateChooser.prototype} */ {
/**
  * @export
  * @type {Date} */
selectedDate: {
get: org.apache.royale.jewel.DateChooser.prototype.get__selectedDate,
set: org.apache.royale.jewel.DateChooser.prototype.set__selectedDate}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.DateChooser.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'selectedDate': { type: 'Date', access: 'readwrite', declaredBy: 'org.apache.royale.jewel.DateChooser', metadata: function () { return [ { name: 'Bindable', args: [ { key: '', value: 'selectedDateChanged' } ] } ]; }}
      };
    },
    methods: function () {
      return {
        'DateChooser': { type: '', declaredBy: 'org.apache.royale.jewel.DateChooser'}
      };
    },
    metadata: function () { return [  ]; }
  };
};