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

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

goog.require('org.apache.flex.events.EventDispatcher');
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.events.EventDispatcher}
 */
org.apache.flex.core.BindableCSSStyles = function() {
  
  this.styleList = {"top":1, "bottom":1, "left":1, "right":1, "padding":1, "paddingLeft":1, "paddingRight":1, "paddingTop":1, "paddingBottom":1, "margin":1, "marginLeft":1, "marginRight":1, "marginTop":1, "marginBottom":1, "verticalAlign":1, "fontFamily":1, "fontSize":1, "color":1, "fontWeight":1, "fontStyle":1, "backgroundAlpha":1, "backgroundColor":1, "backgroundImage":1, "borderColor":1, "borderStyle":1, "borderRadius":1, "borderWidth":1};
  org.apache.flex.core.BindableCSSStyles.base(this, 'constructor');
};
goog.inherits(org.apache.flex.core.BindableCSSStyles, org.apache.flex.events.EventDispatcher);


/**
 * @export
 * @type {Object}
 */
org.apache.flex.core.BindableCSSStyles.prototype.styleList;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.top_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.bottom_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.left_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.right_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.padding_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.paddingLeft_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.paddingRight_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.paddingTop_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.paddingBottom_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.margin_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.marginLeft_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.marginRight_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.marginTop_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.marginBottom_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.verticalAlign_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.fontFamily_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.fontSize_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.color_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.fontWeight_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.fontStyle_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.backgroundAlpha_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.backgroundColor_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.backgroundImage_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.borderColor_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.borderStyle_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.borderRadius_;


/**
 * @export
 * @type {*}
 */
org.apache.flex.core.BindableCSSStyles.prototype.borderWidth_;Object.defineProperties(org.apache.flex.core.BindableCSSStyles.prototype, /** @lends {org.apache.flex.core.BindableCSSStyles.prototype} */ {
/** @export */
top: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.top_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.top_) {
    var oldValue = this.top_;
    this.top_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "top", oldValue, value));
}
}},/** @export */
bottom: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.bottom_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.bottom_) {
    var oldValue = this.bottom_;
    this.bottom_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "bottom", oldValue, value));
}
}},/** @export */
left: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.left_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.left_) {
    var oldValue = this.left_;
    this.left_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "left", oldValue, value));
}
}},/** @export */
right: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.right_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.right_) {
    var oldValue = this.right_;
    this.right_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "right", oldValue, value));
}
}},/** @export */
padding: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.padding_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.padding_) {
    var oldValue = this.padding_;
    this.padding_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "padding", oldValue, value));
}
}},/** @export */
paddingLeft: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.paddingLeft_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.paddingLeft_) {
    var oldValue = this.paddingLeft_;
    this.paddingLeft_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "paddingLeft", oldValue, value));
}
}},/** @export */
paddingRight: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.paddingRight_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.paddingRight_) {
    var oldValue = this.paddingRight_;
    this.paddingRight_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "paddingRight", oldValue, value));
}
}},/** @export */
paddingTop: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.paddingTop_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.paddingTop_) {
    var oldValue = this.paddingTop_;
    this.paddingTop_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "paddingTop", oldValue, value));
}
}},/** @export */
paddingBottom: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.paddingBottom_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.paddingBottom_) {
    var oldValue = this.paddingBottom_;
    this.paddingBottom_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "paddingBottom", oldValue, value));
}
}},/** @export */
margin: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.margin_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.margin_) {
    var oldValue = this.margin_;
    this.margin_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "margin", oldValue, value));
}
}},/** @export */
marginLeft: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.marginLeft_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.marginLeft_) {
    var oldValue = this.marginLeft_;
    this.marginLeft_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "marginLeft", oldValue, value));
}
}},/** @export */
marginRight: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.marginRight_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.marginRight_) {
    var oldValue = this.marginRight_;
    this.marginRight_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "marginRight", oldValue, value));
}
}},/** @export */
marginTop: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.marginTop_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.marginTop_) {
    var oldValue = this.marginTop_;
    this.marginTop_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "marginTop", oldValue, value));
}
}},/** @export */
marginBottom: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.marginBottom_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.marginBottom_) {
    var oldValue = this.marginBottom_;
    this.marginBottom_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "marginBottom", oldValue, value));
}
}},/** @export */
verticalAlign: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.verticalAlign_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.verticalAlign_) {
    var oldValue = this.verticalAlign_;
    this.verticalAlign_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "verticalAlign", oldValue, value));
}
}},/** @export */
fontFamily: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.fontFamily_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.fontFamily_) {
    var oldValue = this.fontFamily_;
    this.fontFamily_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "fontFamily", oldValue, value));
}
}},/** @export */
fontSize: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.fontSize_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.fontSize_) {
    var oldValue = this.fontSize_;
    this.fontSize_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "fontSize", oldValue, value));
}
}},/** @export */
color: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.color_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.color_) {
    var oldValue = this.color_;
    this.color_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "color", oldValue, value));
}
}},/** @export */
fontWeight: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.fontWeight_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.fontWeight_) {
    var oldValue = this.fontWeight_;
    this.fontWeight_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "fontWeight", oldValue, value));
}
}},/** @export */
fontStyle: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.fontStyle_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.fontStyle_) {
    var oldValue = this.fontStyle_;
    this.fontStyle_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "fontStyle", oldValue, value));
}
}},/** @export */
backgroundAlpha: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.backgroundAlpha_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.backgroundAlpha_) {
    var oldValue = this.backgroundAlpha_;
    this.backgroundAlpha_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "backgroundAlpha", oldValue, value));
}
}},/** @export */
backgroundColor: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.backgroundColor_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.backgroundColor_) {
    var oldValue = this.backgroundColor_;
    this.backgroundColor_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "backgroundColor", oldValue, value));
}
}},/** @export */
backgroundImage: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.backgroundImage_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.backgroundImage_) {
    var oldValue = this.backgroundImage_;
    this.backgroundImage_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "backgroundImage", oldValue, value));
}
}},/** @export */
borderColor: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.borderColor_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.borderColor_) {
    var oldValue = this.borderColor_;
    this.borderColor_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "borderColor", oldValue, value));
}
}},/** @export */
borderStyle: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.borderStyle_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.borderStyle_) {
    var oldValue = this.borderStyle_;
    this.borderStyle_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "borderStyle", oldValue, value));
}
}},/** @export */
borderRadius: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.borderRadius_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.borderRadius_) {
    var oldValue = this.borderRadius_;
    this.borderRadius_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "borderRadius", oldValue, value));
}
}},/** @export */
borderWidth: {
/** @this {org.apache.flex.core.BindableCSSStyles} */
  get: function() {
  return this.borderWidth_;
  },

/** @this {org.apache.flex.core.BindableCSSStyles} */
set: function(value) {
if (value != this.borderWidth_) {
    var oldValue = this.borderWidth_;
    this.borderWidth_ = value;
    this.dispatchEvent(org.apache.flex.events.ValueChangeEvent.createUpdateEvent(
         this, "borderWidth", oldValue, value));
}
}}}
);


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


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.core.BindableCSSStyles.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
        'styleList': { type: 'Object'},
        'top': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'bottom': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'left': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'right': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'padding': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'paddingLeft': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'paddingRight': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'paddingTop': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'paddingBottom': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'margin': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'marginLeft': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'marginRight': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'marginTop': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'marginBottom': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'verticalAlign': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'fontFamily': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'fontSize': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'color': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'fontWeight': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'fontStyle': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'backgroundAlpha': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'backgroundColor': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'backgroundImage': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'borderColor': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'borderStyle': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'borderRadius': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }},
        'borderWidth': { type: '*', metadata: function () { return [ { name: 'Bindable'}]; }}
      };
    },
    accessors: function () {
      return {
      };
    },
    methods: function () {
      return {
        'BindableCSSStyles': { type: '', declaredBy: 'org.apache.flex.core.BindableCSSStyles'}
      };
    }
  };
};