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

goog.provide('org.apache.royale.core.supportClasses.StyledImageBase');

goog.require('org.apache.royale.core.IImageModel');
goog.require('org.apache.royale.core.StyledUIBase');
goog.require('org.apache.royale.core.IImage');



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


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


/**
 * @export
 * @param {string} binaryDataAsString
 */
org.apache.royale.core.supportClasses.StyledImageBase.prototype.applyImageData = function(binaryDataAsString) {
};


org.apache.royale.core.supportClasses.StyledImageBase.prototype.get__src = function() {
  return this.model.url;
};


org.apache.royale.core.supportClasses.StyledImageBase.prototype.set__src = function(value) {
  this.model.url = value;
};


org.apache.royale.core.supportClasses.StyledImageBase.prototype.get__imageElement = function() {
  return null;
};


Object.defineProperties(org.apache.royale.core.supportClasses.StyledImageBase.prototype, /** @lends {org.apache.royale.core.supportClasses.StyledImageBase.prototype} */ {
/**
  * @export
  * @type {string} */
src: {
get: org.apache.royale.core.supportClasses.StyledImageBase.prototype.get__src,
set: org.apache.royale.core.supportClasses.StyledImageBase.prototype.set__src},
/**
  * @export
  * @type {Element} */
imageElement: {
get: org.apache.royale.core.supportClasses.StyledImageBase.prototype.get__imageElement}}
);


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.royale.core.supportClasses.StyledImageBase.prototype.ROYALE_REFLECTION_INFO = function () {
  return {
    variables: function () {return {};},
    accessors: function () {
      return {
        'src': { type: 'String', access: 'readwrite', declaredBy: 'org.apache.royale.core.supportClasses.StyledImageBase'},
        'imageElement': { type: 'Element', access: 'readonly', declaredBy: 'org.apache.royale.core.supportClasses.StyledImageBase'}
      };
    },
    methods: function () {
      return {
        'StyledImageBase': { type: '', declaredBy: 'org.apache.royale.core.supportClasses.StyledImageBase'},
        'applyImageData': { type: 'void', declaredBy: 'org.apache.royale.core.supportClasses.StyledImageBase', parameters: function () { return [  { index: 1, type: 'String', optional: false } ]; }}
      };
    }
  };
};