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

goog.provide('org.apache.royale.html.supportClasses.DayNameItemRenderer');

goog.require('org.apache.royale.html.supportClasses.StringItemRenderer');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @extends {org.apache.royale.html.supportClasses.StringItemRenderer}
 */
org.apache.royale.html.supportClasses.DayNameItemRenderer = function() {
  org.apache.royale.html.supportClasses.DayNameItemRenderer.base(this, 'constructor');
  this.className = "DayNameItemRenderer";
};
goog.inherits(org.apache.royale.html.supportClasses.DayNameItemRenderer, org.apache.royale.html.supportClasses.StringItemRenderer);


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


org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype.set__data = function(value) {
  org.apache.royale.html.supportClasses.DayNameItemRenderer.superClass_.set__data.apply(this, [ value] );
  
};


org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype.set__height = function(value) {
  org.apache.royale.html.supportClasses.DayNameItemRenderer.superClass_.set__height.apply(this, [ value] );
  this.element.style["line-height"] = String(value) + "px";
};


Object.defineProperties(org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype, /** @lends {org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype} */ {
/**
  * @export
  * @type {Object} */
data: {
get: org.apache.royale.html.supportClasses.UIItemRendererBase.prototype.get__data,
set: org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype.set__data},
/**
  * @export
  * @type {number} */
height: {
get: org.apache.royale.core.UIBase.prototype.get__height,
set: org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype.set__height}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.html.supportClasses.DayNameItemRenderer.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'data': { type: 'Object', access: 'writeonly', declaredBy: 'org.apache.royale.html.supportClasses.DayNameItemRenderer'},
        'height': { type: 'Number', access: 'writeonly', declaredBy: 'org.apache.royale.html.supportClasses.DayNameItemRenderer'}
      };
    },
    methods: function () {
      return {
        'DayNameItemRenderer': { type: '', declaredBy: 'org.apache.royale.html.supportClasses.DayNameItemRenderer'}
      };
    }
  };
};