/**
 * * 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/ContainerBaseStrandChildren.as
 * org.apache.flex.core.ContainerBaseStrandChildren
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

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

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



/**
 *  Constructor.
 *  
 *  @flexjsignorecoercion org.apache.flex.core.ContainerBase
 *  @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.ContainerBaseStrandChildren = function(owner) {
  ;
  this.owner = owner;
};


/**
 * @export
 * @type {org.apache.flex.core.ContainerBase}
 */
org.apache.flex.core.ContainerBaseStrandChildren.prototype.owner;


/**
 *  @asprivate
 * @export
 * @param {Object} c
 * @param {boolean=} dispatchEvent
 */
org.apache.flex.core.ContainerBaseStrandChildren.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.ContainerBaseStrandChildren.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.ContainerBaseStrandChildren.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.ContainerBaseStrandChildren.prototype.getElementIndex = function(c) {
  return this.owner.$getElementIndex(c);
};


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


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


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


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



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