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

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

goog.require('org.apache.royale.core.IDateChooserModel');
goog.require('org.apache.royale.html.Group');
goog.require('org.apache.royale.utils.Language');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @extends {org.apache.royale.html.Group}
 */
org.apache.royale.html.DateChooser = function() {
  org.apache.royale.html.DateChooser.base(this, 'constructor');
  this.selectedDate = new Date();
};
goog.inherits(org.apache.royale.html.DateChooser, org.apache.royale.html.Group);


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


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


org.apache.royale.html.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.html.DateChooser.prototype, /** @lends {org.apache.royale.html.DateChooser.prototype} */ {
/**
  * @export
  * @type {Date} */
selectedDate: {
get: org.apache.royale.html.DateChooser.prototype.get__selectedDate,
set: org.apache.royale.html.DateChooser.prototype.set__selectedDate}}
);


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



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