/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/core/ListBaseStrandChildren.as
 * org.apache.flex.core.ListBaseStrandChildren
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.core.ListBaseStrandChildren');

goog.require('org.apache.flex.core.IParent');
goog.require('org.apache.flex.utils.Language');



/**
 *  Constructor.
 *  
 *  @flexjsignorecoercion org.apache.flex.core.ListBase
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.0
 * @constructor
 * @implements {org.apache.flex.core.IParent}
 * @param {org.apache.flex.core.IParent} owner
 */
org.apache.flex.core.ListBaseStrandChildren = function(owner) {
  ;
  this.owner = owner;
};


/**
 * @export
 * @type {org.apache.flex.core.ListBase}
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.owner;


/**
 *  @asprivate
 * @export
 * @param {Object} c
 * @param {boolean=} dispatchEvent
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.addElement = function(c, dispatchEvent) {
  dispatchEvent = typeof dispatchEvent !== 'undefined' ? dispatchEvent : true;
  this.owner.$addElement(c, dispatchEvent);
};


/**
 *  @asprivate
 * @export
 * @param {Object} c
 * @param {number} index
 * @param {boolean=} dispatchEvent
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.addElementAt = function(c, index, dispatchEvent) {
  dispatchEvent = typeof dispatchEvent !== 'undefined' ? dispatchEvent : true;
  this.owner.$addElementAt(c, index, dispatchEvent);
};


/**
 *  @asprivate
 * @export
 * @param {Object} c
 * @param {boolean=} dispatchEvent
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.removeElement = function(c, dispatchEvent) {
  dispatchEvent = typeof dispatchEvent !== 'undefined' ? dispatchEvent : true;
  this.owner.$removeElement(c, dispatchEvent);
};


/**
 *  @asprivate
 * @export
 * @param {Object} c
 * @return {number}
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.getElementIndex = function(c) {
  return this.owner.$getElementIndex(c);
};


/**
 *  @asprivate
 * @export
 * @param {number} index
 * @return {Object}
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.getElementAt = function(index) {
  return this.owner.$getElementAt(index);
};


Object.defineProperties(org.apache.flex.core.ListBaseStrandChildren.prototype, /** @lends {org.apache.flex.core.ListBaseStrandChildren.prototype} */ {
/** @export */
numElements: {
get: /** @this {org.apache.flex.core.ListBaseStrandChildren} */ function() {
  return this.owner.$numElements();
}}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'ListBaseStrandChildren', qName: 'org.apache.flex.core.ListBaseStrandChildren'}], interfaces: [org.apache.flex.core.IParent] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.core.ListBaseStrandChildren', org.apache.flex.core.ListBaseStrandChildren);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.core.ListBaseStrandChildren.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
        'owner': { type: 'ListBase'}
      };
    },
    accessors: function () {
      return {
        'numElements': { type: 'int', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'}
      };
    },
    methods: function () {
      return {
        'ListBaseStrandChildren': { type: '', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'},
        'addElement': { type: 'void', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'},
        'addElementAt': { type: 'void', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'},
        'removeElement': { type: 'void', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'},
        'getElementIndex': { type: 'int', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'},
        'getElementAt': { type: 'Object', declaredBy: 'org.apache.flex.core.ListBaseStrandChildren'}
      };
    }
  };
};