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

goog.provide('org.apache.royale.svg.BinaryImage');

goog.require('org.apache.royale.core.IBinaryImageLoader');
goog.require('org.apache.royale.core.IBinaryImageModel');
goog.require('org.apache.royale.core.ValuesManager');
goog.require('org.apache.royale.svg.Image');
goog.require('org.apache.royale.utils.BinaryData');
goog.require('org.apache.royale.core.IBinaryImage');
goog.require('org.apache.royale.utils.Language');



/**
 *  constructor.
 *
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion Royale 0.0
 * @constructor
 * @extends {org.apache.royale.svg.Image}
 * @implements {org.apache.royale.core.IBinaryImage}
 */
org.apache.royale.svg.BinaryImage = function() {
  org.apache.royale.svg.BinaryImage.base(this, 'constructor');
};
goog.inherits(org.apache.royale.svg.BinaryImage, org.apache.royale.svg.Image);


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


/**
 * @export
 * @override
 */
org.apache.royale.svg.BinaryImage.prototype.addedToParent = function() {
  var /** @type {Object} */ c = org.apache.royale.utils.Language.as(org.apache.royale.core.ValuesManager["valuesImpl"].getValue(this, "iBinaryImageLoader"), Object);
  if (c) {
    if (c) {
      var /** @type {org.apache.royale.core.IBinaryImageLoader} */ loader = org.apache.royale.utils.Language.as(new c(), org.apache.royale.core.IBinaryImageLoader);
      this.addBead(loader);
    }
  }
  org.apache.royale.svg.BinaryImage.superClass_.addedToParent.apply(this);
};


org.apache.royale.svg.BinaryImage.prototype.get__binary = function() {
  return org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.IBinaryImageModel).binary;
};


org.apache.royale.svg.BinaryImage.prototype.set__binary = function(value) {
  org.apache.royale.utils.Language.as(this.model, org.apache.royale.core.IBinaryImageModel).binary = value;
};


Object.defineProperties(org.apache.royale.svg.BinaryImage.prototype, /** @lends {org.apache.royale.svg.BinaryImage.prototype} */ {
/**
  * @export
  * @type {org.apache.royale.utils.BinaryData} */
binary: {
get: org.apache.royale.svg.BinaryImage.prototype.get__binary,
set: org.apache.royale.svg.BinaryImage.prototype.set__binary}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.svg.BinaryImage.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'binary': { type: 'org.apache.royale.utils.BinaryData', access: 'readwrite', declaredBy: 'org.apache.royale.svg.BinaryImage'}
      };
    },
    methods: function () {
      return {
        'BinaryImage': { type: '', declaredBy: 'org.apache.royale.svg.BinaryImage'},
        'addedToParent': { type: 'void', declaredBy: 'org.apache.royale.svg.BinaryImage'}
      };
    }
  };
};