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

goog.provide('org.apache.flex.html.beads.SliderTrackView');

goog.require('org.apache.flex.core.BeadViewBase');
goog.require('org.apache.flex.core.UIBase');
goog.require('org.apache.flex.core.WrappedHTMLElement');
goog.require('org.apache.flex.core.IBeadView');
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.BeadViewBase}
 * @implements {org.apache.flex.core.IBeadView}
 */
org.apache.flex.html.beads.SliderTrackView = function() {
  org.apache.flex.html.beads.SliderTrackView.base(this, 'constructor');
  
};
goog.inherits(org.apache.flex.html.beads.SliderTrackView, org.apache.flex.core.BeadViewBase);


/**
 * @export
 * @type {org.apache.flex.core.WrappedHTMLElement}
 */
org.apache.flex.html.beads.SliderTrackView.prototype.element;


Object.defineProperties(org.apache.flex.html.beads.SliderTrackView.prototype, /** @lends {org.apache.flex.html.beads.SliderTrackView.prototype} */ {
/** @export */
strand: {
set: /** @this {org.apache.flex.html.beads.SliderTrackView} */ function(value) {
  org.apache.flex.utils.Language.superSetter(org.apache.flex.html.beads.SliderTrackView, this, 'strand', value);
  
  this.element = org.apache.flex.utils.Language.as(document.createElement('div'), org.apache.flex.core.WrappedHTMLElement);
  this.element.className = 'SliderTrack';
  this.element.id = 'track';
  this.element.style.backgroundColor = '#E4E4E4';
  this.element.style.height = '10px';
  this.element.style.width = '200px';
  this.element.style.border = 'thin solid #C4C4C4';
  this.element.style.position = 'relative';
  this.element.style.left = '0px';
  this.element.style.top = '10px';
  this.element.style.zIndex = '1';
  var /** @type {org.apache.flex.core.UIBase} */ host = org.apache.flex.utils.Language.as(value, org.apache.flex.core.UIBase);
  host.element.appendChild(this.element);
}}}
);


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


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



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.html.beads.SliderTrackView.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
        'element': { type: 'WrappedHTMLElement'}
      };
    },
    accessors: function () {
      return {
        'strand': { type: 'IStrand', declaredBy: 'org.apache.flex.html.beads.SliderTrackView'}
      };
    },
    methods: function () {
      return {
        'SliderTrackView': { type: '', declaredBy: 'org.apache.flex.html.beads.SliderTrackView'}
      };
    }
  };
};