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

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

goog.require('org.apache.flex.core.ContainerBase');
goog.require('org.apache.flex.events.Event');
goog.require('org.apache.flex.core.IApplicationView');
goog.require('org.apache.flex.core.IPopUpHost');
goog.require('org.apache.flex.utils.Language');



/**
 *  Constructor.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.0
 * @constructor
 * @extends {org.apache.flex.core.ContainerBase}
 * @implements {org.apache.flex.core.IPopUpHost}
 * @implements {org.apache.flex.core.IApplicationView}
 */
org.apache.flex.core.ViewBase = function() {
  org.apache.flex.core.ViewBase.base(this, 'constructor');
  this.className = "flexjs";
};
goog.inherits(org.apache.flex.core.ViewBase, org.apache.flex.core.ContainerBase);


/**
 * @private
 * @type {Object}
 */
org.apache.flex.core.ViewBase.prototype._applicationModel;


Object.defineProperties(org.apache.flex.core.ViewBase.prototype, /** @lends {org.apache.flex.core.ViewBase.prototype} */ {
/** @export */
applicationModel: {
get: /** @this {org.apache.flex.core.ViewBase} */ function() {
  return this._applicationModel;
},
set: /** @this {org.apache.flex.core.ViewBase} */ function(value) {
  this._applicationModel = value;
  this.dispatchEvent(new org.apache.flex.events.Event("modelChanged"));
}}}
);


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


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.core.ViewBase.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
        'applicationModel': { type: 'Object', declaredBy: 'org.apache.flex.core.ViewBase', metadata: function () { return [ { name: 'Bindable', args: [ { key: '', value: 'modelChanged'}]}]; }}
      };
    },
    methods: function () {
      return {
        'ViewBase': { type: '', declaredBy: 'org.apache.flex.core.ViewBase'}
      };
    },
    metadata: function () { return [ ]; }
  };
};