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

goog.provide('org.apache.royale.jewel.beads.models.ListPresentationModel');

goog.require('org.apache.royale.core.IStrand');
goog.require('org.apache.royale.events.Event');
goog.require('org.apache.royale.events.EventDispatcher');
goog.require('org.apache.royale.core.IListPresentationModel');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.9.4
 * @constructor
 * @extends {org.apache.royale.events.EventDispatcher}
 * @implements {org.apache.royale.core.IListPresentationModel}
 */
org.apache.royale.jewel.beads.models.ListPresentationModel = function() {
  org.apache.royale.jewel.beads.models.ListPresentationModel.base(this, 'constructor');
};
goog.inherits(org.apache.royale.jewel.beads.models.ListPresentationModel, org.apache.royale.events.EventDispatcher);


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


/**
 * @private
 * @type {number}
 */
org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.org_apache_royale_jewel_beads_models_ListPresentationModel__rowHeight = 30;


/**
 * @private
 * @type {number}
 */
org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.org_apache_royale_jewel_beads_models_ListPresentationModel__separatorThickness = 0;


/**
 * @private
 * @type {org.apache.royale.core.IStrand}
 */
org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.org_apache_royale_jewel_beads_models_ListPresentationModel__strand;


org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.get__rowHeight = function() {
  return this.org_apache_royale_jewel_beads_models_ListPresentationModel__rowHeight;
};


org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__rowHeight = function(value) {
  this.org_apache_royale_jewel_beads_models_ListPresentationModel__rowHeight = value;
  this.dispatchEvent(new org.apache.royale.events.Event("rowHeightChanged"));
};


org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.get__separatorThickness = function() {
  return this.org_apache_royale_jewel_beads_models_ListPresentationModel__separatorThickness;
};


org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__separatorThickness = function(value) {
  this.org_apache_royale_jewel_beads_models_ListPresentationModel__separatorThickness = value;
  this.dispatchEvent(new org.apache.royale.events.Event("separatorThicknessChanged"));
};


org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__strand = function(value) {
  this.org_apache_royale_jewel_beads_models_ListPresentationModel__strand = value;
};


Object.defineProperties(org.apache.royale.jewel.beads.models.ListPresentationModel.prototype, /** @lends {org.apache.royale.jewel.beads.models.ListPresentationModel.prototype} */ {
/**
  * @export
  * @type {number} */
rowHeight: {
get: org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.get__rowHeight,
set: org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__rowHeight},
/**
  * @export
  * @type {number} */
separatorThickness: {
get: org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.get__separatorThickness,
set: org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__separatorThickness},
/**
  * @export
  * @type {org.apache.royale.core.IStrand} */
strand: {
set: org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.set__strand}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.jewel.beads.models.ListPresentationModel.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'rowHeight': { type: 'Number', access: 'readwrite', declaredBy: 'org.apache.royale.jewel.beads.models.ListPresentationModel'},
        'separatorThickness': { type: 'Number', access: 'readwrite', declaredBy: 'org.apache.royale.jewel.beads.models.ListPresentationModel'},
        'strand': { type: 'org.apache.royale.core.IStrand', access: 'writeonly', declaredBy: 'org.apache.royale.jewel.beads.models.ListPresentationModel'}
      };
    },
    methods: function () {
      return {
        'ListPresentationModel': { type: '', declaredBy: 'org.apache.royale.jewel.beads.models.ListPresentationModel'}
      };
    }
  };
};