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

goog.provide('org.apache.royale.jewel.itemRenderers.TableItemRenderer');

goog.require('org.apache.royale.core.WrappedHTMLElement');
goog.require('org.apache.royale.html.util.addElementToWrapper');
goog.require('org.apache.royale.jewel.itemRenderers.ListItemRenderer');
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.itemRenderers.ListItemRenderer}
 */
org.apache.royale.jewel.itemRenderers.TableItemRenderer = function() {
  org.apache.royale.jewel.itemRenderers.TableItemRenderer.base(this, 'constructor');
  this.typeNames = "jewel tableitem";
  if (this.MXMLDescriptor != null) {
    this.typeNames += " with-childs";
  }
};
goog.inherits(org.apache.royale.jewel.itemRenderers.TableItemRenderer, org.apache.royale.jewel.itemRenderers.ListItemRenderer);


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


/**
 * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
 * @protected
 * @override
 */
org.apache.royale.jewel.itemRenderers.TableItemRenderer.prototype.createElement = function() {
  org.apache.royale.html.util.addElementToWrapper(this, 'div');
  if (this.MXMLDescriptor == null) {
    this.textNode = org.apache.royale.utils.Language.as(document.createTextNode(''), Text);
    this.element.appendChild(this.textNode);
  }
  return this.element;
};


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.itemRenderers.TableItemRenderer.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {return {};},
    methods: function () {
      return {
        'TableItemRenderer': { type: '', declaredBy: 'org.apache.royale.jewel.itemRenderers.TableItemRenderer'}
      };
    }
  };
};