flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [16/51] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - new folders for Flat
Date Wed, 03 Feb 2016 18:06:09 GMT
new folders for Flat


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fab4c21e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fab4c21e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fab4c21e

Branch: refs/heads/develop
Commit: fab4c21ef4bdeba6725cbecf0cd1395f7072baa8
Parents: 252ef2c
Author: Alex Harui <aharui@apache.org>
Authored: Tue Feb 2 17:04:22 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Feb 3 10:01:50 2016 -0800

----------------------------------------------------------------------
 frameworks/projects/Flat/as/defaults.css        | 842 -------------------
 frameworks/projects/Flat/as/src/FlatClasses.as  |  44 -
 .../as/src/org/apache/flex/flat/CheckBox.as     | 161 ----
 .../as/src/org/apache/flex/flat/DropDownList.as | 368 --------
 .../as/src/org/apache/flex/flat/RadioButton.as  | 245 ------
 .../beads/CSSContentAndTextToggleButtonView.as  | 304 -------
 .../flex/flat/beads/CSSScrollBarButtonView.as   | 178 ----
 .../apache/flex/flat/beads/CSSScrollBarView.as  | 241 ------
 ...CheckboxCSSContentAndTextToggleButtonView.as |  48 --
 .../apache/flex/flat/beads/DropDownListView.as  | 309 -------
 .../RadioCSSContentAndTextToggleButtonView.as   |  47 --
 .../flat/supportClasses/DropDownListList.as     |  64 --
 .../DropDownListStringItemRenderer.as           |  70 --
 .../projects/Flat/compile-asjs-config.xml       |  80 --
 frameworks/projects/Flat/compile-config.xml     |  91 --
 frameworks/projects/Flat/flat-as-manifest.xml   |  26 -
 frameworks/projects/Flat/flat-manifest.xml      |  99 ---
 .../projects/Flat/src/main/flex/FlatClasses.as  |  44 +
 .../main/flex/org/apache/flex/flat/CheckBox.as  | 161 ++++
 .../flex/org/apache/flex/flat/DropDownList.as   | 368 ++++++++
 .../flex/org/apache/flex/flat/RadioButton.as    | 245 ++++++
 .../beads/CSSContentAndTextToggleButtonView.as  | 304 +++++++
 .../flex/flat/beads/CSSScrollBarButtonView.as   | 178 ++++
 .../apache/flex/flat/beads/CSSScrollBarView.as  | 241 ++++++
 ...CheckboxCSSContentAndTextToggleButtonView.as |  48 ++
 .../apache/flex/flat/beads/DropDownListView.as  | 309 +++++++
 .../RadioCSSContentAndTextToggleButtonView.as   |  47 ++
 .../flat/supportClasses/DropDownListList.as     |  64 ++
 .../DropDownListStringItemRenderer.as           |  70 ++
 .../src/main/resources/compile-asjs-config.xml  |  80 ++
 .../Flat/src/main/resources/compile-config.xml  |  91 ++
 .../Flat/src/main/resources/defaults.css        | 842 +++++++++++++++++++
 .../src/main/resources/flat-as-manifest.xml     |  26 +
 .../Flat/src/main/resources/flat-manifest.xml   |  99 +++
 34 files changed, 3217 insertions(+), 3217 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/defaults.css b/frameworks/projects/Flat/as/defaults.css
deleted file mode 100644
index 53a91f1..0000000
--- a/frameworks/projects/Flat/as/defaults.css
+++ /dev/null
@@ -1,842 +0,0 @@
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You 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.
- *
- */
-
-@namespace "library://ns.apache.org/flexjs/flat";
-
-@font-face {
-  font-family: 'Flat-UI-Icons';
-
-  src: url('fonts/flat-ui-icons-regular.eot');
-  src: url('fonts/flat-ui-icons-regular.eot?#iefix') format('embedded-opentype'), url('fonts/flat-ui-icons-regular.woff') format('woff'), url('fonts/flat-ui-icons-regular.ttf') format('truetype'), url('fonts/flat-ui-icons-regular.svg#flat-ui-icons-regular') format('svg');
-}
-
-/* Global style declaration */
-*
-{
-    font-family: "Arial";
-    font-size: 12px;
-    color: #34495e;
-}
-
-.flexjs *, . flexjs *:before, . flexjs *:after {
-    -moz-box-sizing: border-box;
-    -webkit-box-sizing: border-box;
-    box-sizing: border-box;
-}
-
-Button
-{
-  color: #fff;
-  background-color: #1abc9c;
-  padding: 10px 15px;
-  font-size: 15px;
-  font-weight: normal;
-  line-height: 1.4;
-  border: none;
-  border-radius: 4px;
-  -webkit-transition: border .25s linear, color .25s linear, background-color .25s linear;
-          transition: border .25s linear, color .25s linear, background-color .25s linear;
-
-  -webkit-font-smoothing: subpixel-antialiased;
-}
-
-Button:hover
-{
-  border: none;
-  color: #fff;
-  background-color: #48c9b0;
-  border-color: #48c9b0;
-  padding: 10px 15px;
-}
-
-Button:active
-{
-  border: none;
-  padding: 10px 15px;
-  outline: none;
-  box-shadow: none;
-}
-
-ButtonBar
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.ButtonBarView");			
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.ButtonBarLayout");
-    IDataGroup: ClassReference("org.apache.flex.html.supportClasses.DataGroup");
-    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.TextItemRendererFactoryForArrayData");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer");
-
-    border-style: none;
-}
-
-ButtonBarButtonItemRenderer
-{
-    width: 80;
-    height: 30;
-}
-
-.checkbox-icon,
-.checkbox-icon-hover,
-.checkbox-icon-checked
-{
-  position: absolute;
-  top: 0;
-  left: 0;
-  display: block;
-  width: 20px;
-  height: 20px;
-  font-size: 20px;
-  line-height: 20px;
-  color: #bdc3c7;
-  text-align: center;
-  cursor: pointer;
-  
-  /* .radio .icon-checked:before */
-  /* .radio .icon-unchecked:before */
-  font-family: 'Flat-UI-Icons';
-  font-style: normal;
-  font-weight: normal;
-  font-variant: normal;
-  text-transform: none;
-
-  speak: none;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;  
-  
-  font-size: 20px;
-  line-height: 20px;
-}
-
-.checkbox-icon:before
-{
-  content: "\e60d";
-}
-
-.checkbox-icon-hover:before
-{
-  content: "\e60e";
-}
-
-.checkbox-icon-checked:before 
-{
-  content: "\e60e";
-}
-
-.checkbox-icon-checked 
-{
-  color: #1abc9c;
-}
-
-.checkbox-input
-{
-  position: absolute;
-  top: 0;
-  left: 0;
-  width: 20px;
-  height: 20px;
-  padding: 0;
-  margin: 0;
-  outline: none !important;
-  opacity: 0;
-}
-
-CheckBox
-{
-  /* .checkbox */
-  position: relative;
-  padding-left: 32px;
-  margin-bottom: 12px;
-  font-size: 14px;
-  line-height: 1.5;
-  -webkit-transition: color .25s linear;
-          transition: color .25s linear;
-}
-
-Container
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.BasicLayout");
-}
-
-ControlBar
-{
-	IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
-	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout");
-	
-    background-color: #CECECE;
-    border-style: solid;
-    border-color: #000000;
-    border-width: 1px;
-}
-
-/* ASJS */
-DataGrid
-{
-    IDataGridPresentationModel: ClassReference("org.apache.flex.html.beads.models.DataGridPresentationModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.DataGridView");
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.DataGridModel");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
-
-    background-color: #FFFFFF;
-	border-style: solid;
-	border-color: #222222;
-	border-width: 1px;
-}
-
-DateChooser {
-    IBeadView:   ClassReference("org.apache.flex.html.beads.DateChooserView");
-    IBeadModel:  ClassReference("org.apache.flex.html.beads.models.DateChooserModel");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DateChooserMouseController");
-    width:  280px;
-    height: 240px;
-}
-
-DateField {
-    IBeadView:   ClassReference("org.apache.flex.html.beads.DateFieldView");
-    IBeadModel:  ClassReference("org.apache.flex.html.beads.models.DateChooserModel");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DateFieldMouseController");
-    IFormatBead: ClassReference("org.apache.flex.html.accessories.DateFormatMMDDYYYYBead");
-}
-
-.dropdown-menu {
-  position: absolute;
-  z-index: 1000;
-  padding: 0;
-  margin-top: 9px;
-  font-size: 14px;
-  background-color: #f3f4f5;
-  border: none;
-  border-radius: 4px;
-  box-shadow: none;
-  list-style: none;
-  }
-.dropdown-menu-divider {
-  height: 2px;
-  margin: 3px 0;
-  overflow: hidden;
-  background-color: rgba(202, 206, 209, .5);
-  }
-.dropdown-menu-item-renderer {
-  padding: 3px 16px;
-  line-height: 1.429;
-  display: block;
-  width: 100%;
-  font-size: inherit;
-  color: #606d7a;
-  background-color: transparent;
-}
-.dropdown-menu-item-renderer-selected {
-  padding: 3px 16px;
-  line-height: 1.875;
-  font-size: inherit;
-  display: block;
-  width: 100%;
-  color: #fff;
-  background-color: #1abc9c;
-}
-.dropdown-menu-item-renderer:hover {
-  font-size: inherit;
-  color: #55606c;
-  background-color: rgba(202, 206, 209, .5);
-}
-
-.dropdown-toggle-open-btn {
-  border-radius: 4px;
-  font-size: 14px;
-  color: #fff;
-  background-color: #1abc9c;
-  border-color: #1abc9c;
-  }
-  
-.dropdown-toggle-open-btn:hover {
-  border-radius: 4px;
-  font-size: 14px;
-  color: #fff;
-  background-color: #48c9b0;
-  border-color: #48c9b0;
-  }
-  
-.dropdown-caret {
-  display: inline-block;
-  color: inherit;
-  background-color: inherit;
-  width: 0;
-  height: 0;
-  margin-left: 5px;
-  vertical-align: middle;
-  border-top: 8px solid;
-  border-right: 6px solid transparent;
-  border-left: 6px solid transparent;
-  -webkit-transition: border-color .25s, color .25s;
-          transition: border-color .25s, color .25s;
-  }
-
-.dropdown-label {
-  color: inherit;
-  background-color: inherit;
-  font: inherit;
-  text-align: left;
-  display: inline-block;
-  }
-  
-HContainer
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout");
-}
-
-ImageButton
-{
-    border-style: none;
-}
-
-VContainer
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
-}
-
-List
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.ListView");			
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
-    IDataGroup: ClassReference("org.apache.flex.html.supportClasses.DataGroup");
-    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForArrayData");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
-	IViewport: ClassReference("org.apache.flex.html.supportClasses.ScrollingViewport");
-	border-style: solid;
-	border-color: #222222;
-}
-
-Panel
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.PanelModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.PanelView");
-    
-    background-color: #FFFFFF;
-    border-radius: 6px;
-    border-color: #1abc9c;
-    border-style: solid;
-    border-width: 2px;
-	padding: 2px;
-}
-
-PanelWithControlBar
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.PanelModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.PanelWithControlBarView");
-    
-    background-color: #FFFFFF;
-    border-radius: 6px;
-    border-color: #1abc9c;
-    border-style: solid;
-    border-width: 2px;
-	padding: 2px;
-}
-
-.radio-icon,
-.radio-icon-hover,
-.radio-icon-checked
-{
-  position: absolute;
-  top: 0;
-  left: 0;
-  display: block;
-  width: 20px;
-  height: 20px;
-  font-size: 20px;
-  line-height: 20px;
-  color: #bdc3c7;
-  text-align: center;
-  cursor: pointer;
-  
-  /* .radio .icon-checked:before */
-  /* .radio .icon-unchecked:before */
-  font-family: 'Flat-UI-Icons';
-  font-style: normal;
-  font-weight: normal;
-  font-variant: normal;
-  text-transform: none;
-
-  speak: none;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;  
-  
-  font-size: 20px;
-  line-height: 20px;
-}
-
-.radio-icon:before
-{
-  content: "\e60b";
-}
-
-.radio-icon-hover:before
-{
-  content: "\e60c";
-}
-
-.radio-icon-checked:before
-{
-  content: "\e60c";
-}
-
-.radio-icon-checked
-{
-  color: #1abc9c;
-}
-
-.radio-input
-{
-  position: absolute;
-  top: 0;
-  left: 0;
-  width: 20px;
-  height: 20px;
-  padding: 0;
-  margin: 0;
-  outline: none !important;
-  opacity: 0;
-}
-
-RadioButton
-{
-  /* .radio */
-  position: relative;
-  padding-left: 32px;
-  margin-bottom: 12px;
-  font-size: 14px;
-  line-height: 1.5;
-  -webkit-transition: color .25s linear;
-          transition: color .25s linear;
-}
-
-SimpleList
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.ListView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ListSingleSelectionMouseController");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
-    IDataGroup: ClassReference("org.apache.flex.html.supportClasses.DataGroup");
-    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.TextItemRendererFactoryForArrayData");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
-	IViewport: ClassReference("org.apache.flex.html.supportClasses.ScrollingViewport");
-}
-
-StringItemRenderer
-{
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
-    height: 16;
-}
-
-TextArea
-{
-  padding: 6px 10px;
-  font-size: 13px;
-  border-radius: 6px;
-  border-width: 2px;
-  border: 2px solid #1abc9c;
-}
-
-TextInput
-{
-  background-color: #ffffff;
-  height: 35px;
-  padding: 6px 10px;
-  font-size: 13px;
-  line-height: 1.462;
-  border-radius: 6px;
-  border-width: 2px;
-  border: 2px solid #1abc9c;
-}
-
-#titleLabel {
-   color: #fff;
-   font-size: 15px;
-}
- 
-TitleBar
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TitleBarModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.TitleBarView");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout");
-    iMeasurementBead: ClassReference("org.apache.flex.html.beads.TitleBarMeasurementBead");
-    color: #fff;
-    background-color: #1abc9c;
-    font-size: 15px;
-    border-style: none;
-    border-radius: 4px;
-}
-
-ToolTip
-{
-    background-color: #FFFFCC;
-}
-
-ViewBase
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.BasicLayout");
-}
-
-
-/* Global Style Declaration */
-global
-{
-    IStatesImpl: ClassReference("org.apache.flex.core.SimpleStatesImpl");
-    IEffectTimer: ClassReference("org.apache.flex.utils.EffectTimer");
-    effectTimerInterval: 10;
-}
-
-@media -flex-flash
-{
-
-Alert
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.AlertModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.AlertView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.AlertController");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-    
-    background-color: #FFFFFF;
-    border-style: solid;
-    border-color: #000000;
-    border-width: 1px;
-}
-
-Border
-{
-  border-radius: inherit;
-  border: inherit;
-}
-
-Button
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.CSSButtonView");
-}
-
-CheckBox
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel");
-    IBeadView:  ClassReference("org.apache.flex.flat.beads.CheckboxCSSContentAndTextToggleButtonView");			
-}
-
-CloseButton
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.CloseButtonView");
-}
-
-ComboBox
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ComboBoxModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.ComboBoxView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ComboBoxController");
-    IPopUp: ClassReference("org.apache.flex.html.supportClasses.DropDownListList");
-    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.TextItemRendererFactoryForArrayData");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
-}
-
-Container
-{
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-}
-
-ControlBar
-{
-	IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout");
-    iMeasurementBead: ClassReference("org.apache.flex.html.beads.ControlBarMeasurementBead");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");    
-}
-
-DropDownList
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-    IBeadView: ClassReference("org.apache.flex.flat.beads.DropDownListView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.DropDownListController");
-    IPopUp: ClassReference("org.apache.flex.flat.supportClasses.DropDownListList");
-}
-
-DropDownListList
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ArraySelectionModel");
-    IDataProviderItemRendererMapper: ClassReference("org.apache.flex.html.beads.TextItemRendererFactoryForArrayData");
-    IItemRendererClassFactory: ClassReference("org.apache.flex.core.ItemRendererClassFactory");
-    IItemRenderer: ClassReference("org.apache.flex.flat.supportClasses.DropDownListStringItemRenderer");
-    iBackgroundBead: ClassReference('org.apache.flex.html.beads.SolidBackgroundBead');
-    border-style: none;
-    border-radius: 4px;
-    border-color: #000000;
-    border-width: 1px;
-    background-color: #FFFFFF;
-}
-
-Image
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ImageModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
-}
-
-ImageButton
-{
-    IBeadView: ClassReference("org.apache.flex.html.beads.ImageButtonView");
-}
-
-ImageAndTextButton
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ImageAndTextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.ImageAndTextButtonView");
-}
-
-Label
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.TextFieldView");
-	iMeasurementBead: ClassReference("org.apache.flex.html.beads.TextFieldLabelMeasurementBead");
-}
-
-List
-{
-    iBorderBead: ClassReference('org.apache.flex.html.beads.SingleLineBorderBead');
-    iBorderModel: ClassReference('org.apache.flex.html.beads.models.SingleLineBorderModel');
-}
-
-MultilineLabel
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.MultilineTextFieldView");
-}
-
-NumericStepper
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.NumericStepperView");
-    
-    padding: 0px;
-    border-style: solid;
-    border-color: #000000;
-    border-width: 1px;
-    background-color: #FFFFFF;
-    iBorderBead: ClassReference('org.apache.flex.html.beads.SingleLineBorderBead');
-    iBackgroundBead: ClassReference('org.apache.flex.html.beads.SolidBackgroundBead');
-}
-
-Panel
-{
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");    
-}
-
-PanelWithControlBar
-{
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-}
-
-RadioButton
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ValueToggleButtonModel");
-    IBeadView:  ClassReference("org.apache.flex.flat.beads.RadioCSSContentAndTextToggleButtonView");			
-}
-
-.vscrollbar-uparrow {
-  padding: 0px;
-  display: inline-block;
-  border-color: #16a085;
-  border-radius: initial;
-  background-color: transparent;
-  width: 0;
-  height: 0;
-  margin-left: 5px;
-  vertical-align: middle;
-  border-bottom: 8px solid;
-  border-right: 6px solid transparent;
-  border-left: 6px solid transparent;
-  -webkit-transition: border-color .25s, color .25s;
-          transition: border-color .25s, color .25s;
-  }
-.vscrollbar-downarrow-btn {
-  padding: 2px;
-  display: inline-block;
-  border-style: none;
-  border-radius: initial;
-  background-color: transparent;
-  width: 12;
-  height: 12;
-  margin-left: 5px;
-  vertical-align: middle;
-  }
-.vscrollbar-uparrow-btn {
-  padding: 2px;
-  display: inline-block;
-  border-style: none;
-  border-radius: initial;
-  background-color: transparent;
-  width: 12;
-  height: 12;
-  margin-left: 5px;
-  vertical-align: middle;
-  }
-.vscrollbar-downarrow {
-  padding: 0px;
-  display: inline-block;
-  border-color: #16a085;
-  border-radius: initial;
-  background-color: transparent;
-  width: 0;
-  height: 0;
-  margin-left: 5px;
-  vertical-align: middle;
-  border-top: 8px solid;
-  border-right: 6px solid transparent;
-  border-left: 6px solid transparent;
-  -webkit-transition: border-color .25s, color .25s;
-          transition: border-color .25s, color .25s;
-  }
-.vscrollbar-track {
-  padding: 0px;
-  position: relative;
-  width: 8px;
-  height: 8px;
-  /*margin-bottom: 20px;*/
-  cursor: pointer;
-  background-color: #ebedef;
-  border-radius: 4px;
-  /*border-radius: 32px;*/
-  box-shadow: none;
-  }
-.vscrollbar-thumb {
-  padding: 0px;
-  position: absolute;
-  z-index: 2;
-  width: 12px;
-  height: 12px;
-  cursor: pointer;
-  background-color: #16a085;
-  border-radius: 6px;
-  -webkit-transition: background .25s;
-          transition: background .25s;
-  }
-.vscrollbar-thumb:hover {
-  background-color: #48c9b0;
-  outline: none;
-  }
-.vscrollbar-thumb:active {
-  background-color: #16a085;
-  }
-
-VScrollBar
-{
-    IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.VScrollBarLayout");
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ScrollBarModel");
-    IBeadView: ClassReference("org.apache.flex.flat.beads.CSSScrollBarView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.VScrollBarMouseController");
-}
-
-SimpleAlert
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.AlertModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.SimpleAlertView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.AlertController");
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-    
-    background-color: #FFFFFF;
-    border-style: solid;
-    border-color: #000000;
-    border-width: 1px;
-}
-
-Slider
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
-    iBeadView:  ClassReference("org.apache.flex.html.beads.SliderView");
-    iBeadController: ClassReference("org.apache.flex.html.beads.controllers.SliderMouseController");
-    iThumbView: ClassReference("org.apache.flex.html.beads.SliderThumbView");
-    iTrackView: ClassReference("org.apache.flex.html.beads.SliderTrackView");
-}
-
-Spinner
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.SpinnerView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.SpinnerMouseController");
-}
-
-TextArea
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.TextAreaView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.EditableTextKeyboardController");
-    iBorderBead: ClassReference('org.apache.flex.html.beads.SingleLineBorderBead');
-    iBorderModel: ClassReference('org.apache.flex.html.beads.models.SingleLineBorderModel');
-}
-
-TextButton
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.CSSTextButtonView");
-    iMeasurementBead: ClassReference("org.apache.flex.html.beads.TextButtonMeasurementBead");
-}
-
-TextFieldItemRenderer
-{
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
-    height: 16;
-}
-
-TextInput
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
-    IBeadView: ClassReference("org.apache.flex.html.beads.TextInputWithBorderView");
-    IBeadController: ClassReference("org.apache.flex.html.beads.controllers.EditableTextKeyboardController");
-    iBorderBead: ClassReference('org.apache.flex.html.beads.SingleLineBorderBead');
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-}
-
-TitleBar
-{
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-}
-
-ToggleTextButton
-{
-    IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel");
-    IBeadView:  ClassReference("org.apache.flex.html.beads.CSSTextButtonView");
-}
-
-ViewBase
-{
-    iBackgroundBead: ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
-    iBorderBead: ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
-}
-
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/FlatClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/FlatClasses.as b/frameworks/projects/Flat/as/src/FlatClasses.as
deleted file mode 100644
index 29173ef..0000000
--- a/frameworks/projects/Flat/as/src/FlatClasses.as
+++ /dev/null
@@ -1,44 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{
-
-/**
- *  @private
- *  This class is used to link additional classes into rpc.swc
- *  beyond those that are found by dependecy analysis starting
- *  from the classes specified in manifest.xml.
- */
-internal class FlatClasses
-{	
-	COMPILE::AS3
-	{
-		import org.apache.flex.flat.beads.CSSScrollBarView; CSSScrollBarView;
-		import org.apache.flex.flat.beads.CSSScrollBarButtonView; CSSScrollBarButtonView;
-		import org.apache.flex.flat.supportClasses.DropDownListStringItemRenderer; DropDownListStringItemRenderer;
-    	import org.apache.flex.flat.supportClasses.DropDownListList; DropDownListList;
-		import org.apache.flex.flat.beads.DropDownListView; DropDownListView;
-    	import org.apache.flex.flat.beads.CheckboxCSSContentAndTextToggleButtonView; CheckboxCSSContentAndTextToggleButtonView;
-    	import org.apache.flex.flat.beads.RadioCSSContentAndTextToggleButtonView; RadioCSSContentAndTextToggleButtonView;
-
-	}
-}
-
-}
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/CheckBox.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/CheckBox.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/CheckBox.as
deleted file mode 100644
index 466e9b2..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/CheckBox.as
+++ /dev/null
@@ -1,161 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat
-{
-    COMPILE::AS3
-    {
-        import org.apache.flex.html.CheckBox;            
-    }
-    COMPILE::JS
-    {
-        import org.apache.flex.core.UIBase;
-        import org.apache.flex.core.WrappedHTMLElement;
-        import org.apache.flex.events.Event;
-    }
-
-    /**
-     *  The CheckBox class provides a FlatUI-like appearance for
-     *  a CheckBox.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-    COMPILE::AS3
-	public class CheckBox extends org.apache.flex.html.CheckBox
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function CheckBox()
-		{
-			super();
-		}
-	}
-    
-    COMPILE::JS
-    public class CheckBox extends UIBase
-    {
-        
-        private var input:HTMLInputElement;
-        private var checkbox:HTMLSpanElement;
-        private var label:HTMLLabelElement;
-        private var textNode:Text;
-        
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         * @flexjsignorecoercion HTMLLabelElement
-         * @flexjsignorecoercion HTMLInputElement
-         * @flexjsignorecoercion HTMLSpanElement
-         * @flexjsignorecoercion Text
-         */
-        override protected function createElement():WrappedHTMLElement
-        {
-                label = document.createElement('label') as HTMLLabelElement;
-                element = label as WrappedHTMLElement;
-                
-                input = document.createElement('input') as HTMLInputElement;
-                input.type = 'checkbox';
-                input.className = 'checkbox-input';
-                input.addEventListener('change', selectionChangeHandler, false);
-                label.appendChild(input);
-                
-                checkbox = document.createElement('span') as HTMLSpanElement;
-                checkbox.className = 'checkbox-icon';
-                checkbox.addEventListener('mouseover', mouseOverHandler, false);
-                checkbox.addEventListener('mouseout', mouseOutHandler, false);
-                label.appendChild(checkbox);
-                
-                textNode = document.createTextNode('') as Text;
-                label.appendChild(textNode);
-                label.className = 'CheckBox';
-                typeNames = 'CheckBox';
-                
-                positioner = element;
-                positioner.style.position = 'relative';
-                (input as WrappedHTMLElement).flexjs_wrapper = this;
-                (checkbox as WrappedHTMLElement).flexjs_wrapper = this;
-                element.flexjs_wrapper = this;
-                
-                return element;
-            };
-        
-        
-        /**
-         */
-        private function mouseOverHandler(event:Event):void
-        {
-            checkbox.className = 'checkbox-icon-hover';
-        }
-        
-        /**
-         */
-        private function mouseOutHandler(event:Event):void
-        {
-            if (input.checked)
-                checkbox.className = 'checkbox-icon-checked';
-            else
-                checkbox.className = 'checkbox-icon';
-        }
-        
-        
-        /**
-         */
-        private function selectionChangeHandler(event:Event):void
-        {
-            if (input.checked)
-                checkbox.className = 'checkbox-icon-checked';
-            else
-                checkbox.className = 'checkbox-icon';
-        }
-        
-        
-        public function get text():String
-        {
-            return textNode.nodeValue;
-        }
-        
-        public function set text(value:String):void
-        {
-            textNode.nodeValue = value;
-        }
-        
-        public function get selected():Boolean
-        {
-            return input.checked;
-        }
-        
-        public function set selected(value:Boolean):void
-        {
-            input.checked = value;
-            if (value)
-                checkbox.className = 'checkbox-icon-checked';
-            else
-                checkbox.className = 'checkbox-icon';
-        }
-
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/DropDownList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/DropDownList.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/DropDownList.as
deleted file mode 100644
index 265f2c7..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/DropDownList.as
+++ /dev/null
@@ -1,368 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat
-{
-    import org.apache.flex.core.UIBase;
-
-    COMPILE::AS3
-    {
-        import org.apache.flex.html.DropDownList;            
-    }
-    COMPILE::JS
-    {
-        import goog.events;
-        import org.apache.flex.core.ListBase;
-        import org.apache.flex.core.WrappedHTMLElement;
-        import org.apache.flex.core.ISelectionModel;
-        import org.apache.flex.events.Event;
-        import org.apache.flex.html.beads.models.ArraySelectionModel;
-        import org.apache.flex.utils.CSSUtils;
-    }
-    
-    /**
-     *  The DropDownList class provides a FlatUI-like appearance for
-     *  a DropDownList.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-    COMPILE::AS3
-	public class DropDownList extends org.apache.flex.html.DropDownList
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function DropDownList()
-		{
-			super();
-		}
-	}
-    
-    COMPILE::JS
-    public class DropDownList extends ListBase
-    {
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function DropDownList()
-        {
-            super();
-            model = new ArraySelectionModel();
-        }
-
-        private var label:HTMLSpanElement;
-        private var button:HTMLButtonElement;
-        private var caret:HTMLSpanElement;
-        private var menu:HTMLUListElement;
-        
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         * @flexjsignorecoercion HTMLButtonElement
-         * @flexjsignorecoercion HTMLDivElement
-         * @flexjsignorecoercion HTMLSpanElement
-         */
-        override protected function createElement():WrappedHTMLElement
-        {
-            var button:HTMLButtonElement;
-            var outer:HTMLDivElement;
-            var caret:HTMLSpanElement;
-            
-            this.element = document.createElement('div') as WrappedHTMLElement;
-            outer = this.element as HTMLDivElement;
-            
-            this.button = button = document.createElement('button') as HTMLButtonElement;
-            button.className = 'dropdown-toggle-open-btn';
-            if (this.className)
-                button.className += ' ' + this.className;
-            goog.events.listen(button, 'click', buttonClicked);
-            outer.appendChild(button);
-            
-            this.label = document.createElement('span') as HTMLSpanElement;
-            this.label.className = 'dropdown-label';
-            button.appendChild(this.label);
-            this.caret = caret = document.createElement('span') as HTMLSpanElement;
-            button.appendChild(caret);
-            caret.className = 'dropdown-caret';
-            
-            this.positioner = this.element;
-            this.positioner.style.position = 'relative';
-            
-            // add a click handler so that a click outside of the combo box can
-            // dismiss the pop-up should it be visible.
-            goog.events.listen(document, 'click', dismissPopup);
-            
-            (button as WrappedHTMLElement).flexjs_wrapper = this;
-            this.element.flexjs_wrapper = this;
-            (this.label as WrappedHTMLElement).flexjs_wrapper = this;
-            (caret as WrappedHTMLElement).flexjs_wrapper = this;
-            
-            return this.element;
-        }
-        
-        
-        /**
-         * @param event The event.
-         * @flexjsignorecoercion org.apache.flex.core.UIBase 
-         */
-        private function selectChanged(event:Event):void
-        {
-            var select:UIBase;
-            
-            select = event.target as UIBase;
-            
-            this.selectedIndex = parseInt(select.id, 10);
-            
-            this.menu.parentNode.removeChild(this.menu);
-            this.menu = null;
-            
-            this.dispatchEvent('change');
-        }
-        
-        
-        /**
-         * @param event The event.
-         */
-        private function dismissPopup(event:Event = null):void
-        {
-            // remove the popup if it already exists
-            if (this.menu) 
-            {
-                this.menu.parentNode.removeChild(this.menu);
-                this.menu = null;
-            }
-        }
-        
-        
-        /**
-         * @param event The event.
-         * @flexjsignorecoercion Array
-         * @flexjsignorecoercion HTMLButtonElement
-         * @flexjsignorecoercion HTMLUListElement
-         * @flexjsignorecoercion HTMLLIElement
-         * @flexjsignorecoercion HTMLAnchorElement
-         */
-        private function buttonClicked(event:Event):void
-        {
-            var dp:Array;
-            var i:int;
-            var button:HTMLButtonElement;
-            var left:Number;
-            var n:int;
-            var opt:HTMLLIElement;
-            var opts:Array;
-            var pn:HTMLDivElement;
-            var select:HTMLUListElement;
-            var top:Number;
-            var width:Number;
-            
-            event.stopPropagation();
-            
-            if (this.menu) 
-            {
-                this.dismissPopup();    
-                return;
-            }
-            
-            button = this.element.childNodes.item(0) as HTMLButtonElement;
-            
-            pn = this.element as HTMLDivElement;
-            top = pn.offsetTop + button.offsetHeight;
-            left = pn.offsetLeft;
-            width = pn.offsetWidth;
-                        
-            this.menu = select = document.createElement('ul') as HTMLUListElement;
-            var el:Element =  element as Element;
-            var cv:Object = getComputedStyle(el);
-            select.style.width = cv.width;
-            goog.events.listen(select, 'click', selectChanged);
-            select.className = 'dropdown-menu';
-            
-            var lf:String = this.labelField;
-            dp = dataProvider as Array;
-            n = dp.length;
-            for (i = 0; i < n; i++) {
-                opt = document.createElement('li') as HTMLLIElement;
-                opt.style.backgroundColor = 'transparent';
-                var ir:HTMLAnchorElement = document.createElement('a') as HTMLAnchorElement;
-                if (lf)
-                    ir.innerHTML = dp[i][lf];
-                else
-                    ir.innerHTML = dp[i];
-                ir.id = i.toString();
-                if (i == this.selectedIndex)
-                    ir.className = 'dropdown-menu-item-renderer-selected';
-                else
-                    ir.className = 'dropdown-menu-item-renderer';
-                opt.appendChild(ir);
-                select.appendChild(opt);
-            }
-            
-            this.element.appendChild(select);
-        };
-        
-        
-        /**
-         */
-        override public function addedToParent():void
-        {
-            super.addedToParent();
-            var el:Element = button as Element;
-            var cv:Object = getComputedStyle(el);
-            var s:String = cv.paddingLeft;
-            var pl:Number = CSSUtils.toNumber(s);
-            s = cv.paddingRight;
-            var pr:Number = CSSUtils.toNumber(s);
-            s = cv.borderLeftWidth;
-            var bl:Number = CSSUtils.toNumber(s);
-            s = cv.borderRightWidth;
-            var br:Number = CSSUtils.toNumber(s);
-            var caretWidth:Number = this.caret.offsetWidth;
-            // 10 seems to factor spacing between span and extra FF padding?
-            var fluff:Number = pl + pr + bl + br + caretWidth + 1 + 10;
-            var labelWidth:Number = this.width - fluff;
-            var strWidth:String = labelWidth.toString();
-            strWidth += 'px';
-            this.label.style.width = strWidth;
-        }       
-        
-        override public function set className(value:String):void
-        {
-            super.className = value;
-            if (this.button) {
-                this.button.className = this.typeNames ?
-                value + ' ' + 'dropdown-toggle-open-btn' + ' ' + this.typeNames :
-                value + ' ' + 'dropdown-toggle-open-btn';
-            }
-        }
-        
-        /**
-         *  The data set to be displayed.  Usually a simple
-         *  array of strings.  A more complex component
-         *  would allow more complex data and data sets.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get dataProvider():Object
-        {
-            return ISelectionModel(model).dataProvider;
-        }
-        
-        /**
-         *  @private
-         *  @flexjsignorecoercion HTMLOptionElement
-         *  @flexjsignorecoercion HTMLSelectElement
-         */
-        public function set dataProvider(value:Object):void
-        {
-            ISelectionModel(model).dataProvider = value;
-        }
-        
-        /**
-         *  The name of field within the data used for display. Each item of the
-         *  data should have a property with this name.
-         *
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get labelField():String
-        {
-            return ISelectionModel(model).labelField;
-        }
-        public function set labelField(value:String):void
-        {
-            ISelectionModel(model).labelField = value;
-        }
-
-        [Bindable("change")]
-        /**
-         *  @copy org.apache.flex.core.ISelectionModel#selectedIndex
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get selectedIndex():int
-        {
-            return ISelectionModel(model).selectedIndex;
-        }
-        
-        /**
-         *  @private
-         *  @flexjsignorecoercion HTMLSelectElement
-         *  @flexjsignorecoercion String
-         */
-        public function set selectedIndex(value:int):void
-        {
-            ISelectionModel(model).selectedIndex = value;
-            var lf:String = this.labelField;
-            if (lf)
-                this.label.innerHTML = this.selectedItem[lf] as String;
-            else
-                this.label.innerHTML = this.selectedItem as String;
-        }
-        
-        
-        [Bindable("change")]
-        /**
-         *  @copy org.apache.flex.core.ISelectionModel#selectedItem
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get selectedItem():Object
-        {
-            return ISelectionModel(model).selectedItem;
-        }
-        
-        /**
-         *  @private
-         *  @flexjsignorecoercion HTMLSelectElement
-         *  @flexjsignorecoercion String
-         */
-        public function set selectedItem(value:Object):void
-        {
-            ISelectionModel(model).selectedItem = value;
-            var lf:String = this.labelField;
-            if (lf)
-                this.label.innerHTML = this.selectedItem[lf] as String;
-            else
-                this.label.innerHTML = this.selectedItem as String;
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/RadioButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/RadioButton.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/RadioButton.as
deleted file mode 100644
index 1294a25..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/RadioButton.as
+++ /dev/null
@@ -1,245 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat
-{
-    COMPILE::AS3
-    {
-        import org.apache.flex.html.RadioButton;            
-    }
-    COMPILE::JS
-    {
-        import org.apache.flex.core.UIBase;
-        import org.apache.flex.core.WrappedHTMLElement;
-    }
-    
-    /**
-     *  The RadioButton class provides a FlatUI-like appearance for
-     *  a RadioButton.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-    COMPILE::AS3
-	public class RadioButton extends org.apache.flex.html.RadioButton
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function RadioButton()
-		{
-			super();
-		}
-	}
-    
-    COMPILE::JS
-    public class RadioButton extends UIBase
-    {
-        /**
-         * Provides unique name
-         */
-        public static var radioCounter:int = 0;
-        
-        private var input:HTMLInputElement;
-        private var radio:HTMLSpanElement;
-        private var textNode:Text;
-        private var labelFor:HTMLLabelElement;
-        
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         * @flexjsignorecoercion HTMLInputElement
-         * @flexjsignorecoercion HTMLSpanElement
-         * @flexjsignorecoercion HTMLLabelElement
-         */
-        override protected function createElement():WrappedHTMLElement
-        {
-            // hide this eleement
-            input = document.createElement('input') as HTMLInputElement;
-            input.type = 'radio';
-            input.className = 'radio-input';
-            input.id = '_radio_' + radioCounter++;
-            input.addEventListener('change', selectionChangeHandler, false);
-            
-            radio = document.createElement('span') as HTMLSpanElement;
-            radio.className = 'radio-icon';
-            radio.addEventListener('mouseover', mouseOverHandler, false);
-            radio.addEventListener('mouseout', mouseOutHandler, false);
-            
-            textNode = document.createTextNode('radio button') as Text;
-            
-            labelFor = document.createElement('label') as HTMLLabelElement;
-            labelFor.appendChild(input);
-            labelFor.appendChild(radio);
-            labelFor.appendChild(textNode);
-            labelFor.style.position = 'relative';
-            
-            element = labelFor as WrappedHTMLElement;
-            element.className = 'RadioButton';
-            typeNames = 'RadioButton';
-            
-            positioner = element;
-            positioner.style.position = 'relative';
-            (input as WrappedHTMLElement).flexjs_wrapper = this;
-            (radio as WrappedHTMLElement).flexjs_wrapper = this;
-            element.flexjs_wrapper = this;
-            (textNode as WrappedHTMLElement).flexjs_wrapper = this;
-            
-            return element;
-        }
-        
-        
-        /**
-         * @param e The event object.
-         */
-        private function mouseOverHandler(e:Event):void
-        {
-            radio.className = 'radio-icon-hover';
-        }
-        
-        
-        /**
-         * @param e The event object.
-         */
-        private function mouseOutHandler(e:Event):void
-        {
-            if (input.checked)
-                radio.className = 'radio-icon-checked';
-            else
-                radio.className = 'radio-icon';
-        }
-        
-        
-        /**
-         * @param e The event object.
-         */
-        private function selectionChangeHandler(e:Event):void 
-        {
-            // this should reset the icons in the non-selected radio
-            selectedValue = value;
-        }
-        
-        
-        override public function set id(value:String):void
-        {
-            super.id = value;
-            labelFor.id = value;
-            input.id = value;
-        }
-        
-        /**
-         * @flexjsignorecoercion String
-         */
-        public function get groupName():String
-        {
-            return input.name as String;
-        }
-        
-        public function set groupName(value:String):void
-        {
-            input.name = value;
-        }
-        
-        public function get text():String
-        {
-            return textNode.nodeValue;
-        }
-        
-        public function set text(value:String):void
-        {
-            textNode.nodeValue = value;
-        }
-        
-        public function get selected():Boolean
-        {
-            return input.checked;
-        }
-        
-        public function set selected(value:Boolean):void
-        {
-            input.checked = value;
-            if (input.checked)
-                radio.className = 'radio-icon-checked';
-            else
-                radio.className = 'radio-icon';
-        }
-        
-        public function get value():String
-        {
-            return input.value;
-        }
-        
-        public function set value(value:String):void
-        {
-            input.value = value;
-        }
-        
-        /**
-         * @flexjsignorecoercion Array 
-         * @flexjsignorecoercion String
-         */
-        public function get selectedValue():Object
-        {
-            var buttons:Array;
-            var groupName:String;
-            var i:int;
-            var n:int;
-            
-            groupName = input.name as String;
-            buttons = document.getElementsByName(groupName) as Array;
-            n = buttons.length;
-            
-            for (i = 0; i < n; i++) {
-                if (buttons[i].checked) {
-                    return buttons[i].value;
-                }
-            }
-            return null;            
-        }
-        
-        /**
-         * @flexjsignorecoercion Array
-         * @flexjsignorecoercion String
-         */
-        public function set selectedValue(value:Object):void
-        {
-            var buttons:Array;
-            var groupName:String;
-            var i:int;
-            var n:int;
-            
-            groupName = input.name as String;
-            buttons = document.getElementsByName(groupName) as Array;
-            n = buttons.length;
-            for (i = 0; i < n; i++) {
-                if (buttons[i].value === value) {
-                    buttons[i].checked = true;
-                    buttons[i].flexjs_wrapper.selected = true;
-                }
-                else
-                    buttons[i].flexjs_wrapper.selected = false;
-            }
-        }
-    }    
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSContentAndTextToggleButtonView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSContentAndTextToggleButtonView.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSContentAndTextToggleButtonView.as
deleted file mode 100644
index aa3e8b5..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSContentAndTextToggleButtonView.as
+++ /dev/null
@@ -1,304 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat.beads
-{
-	import flash.display.Shape;
-	import flash.display.SimpleButton;
-	import flash.display.Sprite;
-	import flash.text.TextFieldAutoSize;
-	import flash.text.TextFieldType;
-	
-    import org.apache.flex.core.BeadViewBase;
-	import org.apache.flex.core.CSSTextField;
-	import org.apache.flex.core.IBeadView;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.IToggleButtonModel;
-    import org.apache.flex.core.StyleableCSSTextField;
-    import org.apache.flex.core.ValuesManager;
-	import org.apache.flex.events.Event;
-    import org.apache.flex.utils.CSSUtils;
-	
-    /**
-     *  The CSSContentAndTextToggleButtonView class is the default view for
-     *  the org.apache.flex.flat.CheckBox and RadioButton classes.
-     *  It supports CSS content property for the
-     *  icon.
-     * 
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class CSSContentAndTextToggleButtonView extends BeadViewBase implements IBeadView
-	{
-        /**
-         *  map of classname suffixes.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        private static var suffixMap:Object = {
-            "upSprite": "",
-            "downSprite": "-checked",
-            "overSprite": "-hover",
-            "upAndSelectedSprite": "-checked",
-            "downAndSelectedSprite": "-checked",
-            "overAndSelectedSprite": "-checked"
-        }
-        
-        /**
-         *  className to use for styling.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        protected var className:String;
-        
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function CSSContentAndTextToggleButtonView()
-		{
-		}
-		
-		private var upSprite:Sprite;
-		private var downSprite:Sprite;
-		private var overSprite:Sprite;
-		private var upAndSelectedSprite:Sprite;
-		private var downAndSelectedSprite:Sprite;
-		private var overAndSelectedSprite:Sprite;
-		
-		private var sprites:Array = [];
-		
-		private var _toggleButtonModel:IToggleButtonModel;
-
-        // TODO: Can we remove this?
-		private function get toggleButtonModel() : IToggleButtonModel
-		{
-			return _toggleButtonModel;
-		}
-		
-        /**
-         *  @copy org.apache.flex.core.IBead#strand
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		override public function set strand(value:IStrand):void
-		{
-			super.strand = value;
-            
-            for (var p:String in suffixMap)
-            {
-                var s:Sprite = new Sprite();
-                sprites.push(s);
-                this[p] = s;
-                
-                var tf:CSSTextField = new CSSTextField();
-                tf.type = TextFieldType.DYNAMIC;
-                tf.autoSize = TextFieldAutoSize.LEFT;
-                tf.name = "textField";
-                tf.parentHandlesPadding = true;
-                var icon:StyleableCSSTextField = new StyleableCSSTextField();
-                icon.name = "icon";
-                icon.className = className + suffixMap[p];
-                s.addChild(icon);
-                s.addChild(tf);
-            }
-            
-			_toggleButtonModel = value.getBeadByType(IToggleButtonModel) as IToggleButtonModel;
-			_toggleButtonModel.addEventListener("textChange", textChangeHandler);
-			_toggleButtonModel.addEventListener("htmlChange", htmlChangeHandler);
-			_toggleButtonModel.addEventListener("selectedChange", selectedChangeHandler);
-			if (_toggleButtonModel.text !== null)
-				text = _toggleButtonModel.text;
-			
-			layoutControl();
-			
-			var hitArea:Shape = new Shape();
-			hitArea.graphics.beginFill(0x000000);
-			hitArea.graphics.drawRect(0,0,upSprite.width, upSprite.height);
-			hitArea.graphics.endFill();
-			
-			SimpleButton(value).upState = upSprite;
-			SimpleButton(value).downState = downSprite;
-			SimpleButton(value).overState = overSprite;
-			SimpleButton(value).hitTestState = hitArea;
-			
-			if (toggleButtonModel.text !== null)
-				text = toggleButtonModel.text;
-			if (toggleButtonModel.html !== null)
-				html = toggleButtonModel.html;
-		}
-		
-        /**
-         *  @copy org.apache.flex.html.Label#text
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get text():String
-		{
-			var tf:CSSTextField = upSprite.getChildByName('textField') as CSSTextField;
-			return tf.text;
-		}
-		
-        /**
-         *  @private
-         */
-		public function set text(value:String):void
-		{
-			for each( var s:Sprite in sprites )
-			{
-				var tf:CSSTextField = s.getChildByName('textField') as CSSTextField;
-                tf.styleParent = _strand;
-				tf.text = value;
-			}
-			
-			layoutControl();
-		}
-		
-        /**
-         *  @copy org.apache.flex.html.Label#html
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get html():String
-		{
-			var tf:CSSTextField = upSprite.getChildByName('textField') as CSSTextField;
-			return tf.htmlText;
-		}
-		
-        /**
-         *  @private
-         */
-		public function set html(value:String):void
-		{
-			for each(var s:Sprite in sprites)
-			{
-				var tf:CSSTextField = s.getChildByName('textField') as CSSTextField;
-				tf.htmlText = value;
-			}
-			
-			layoutControl();
-		}
-		
-		private function textChangeHandler(event:Event):void
-		{
-			text = toggleButtonModel.text;
-		}
-		
-		private function htmlChangeHandler(event:Event):void
-		{
-			html = toggleButtonModel.html;
-		}
-		
-		private var _selected:Boolean;
-		
-        /**
-         *  @copy org.apache.flex.core.IToggleButtonModel#selected
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get selected():Boolean
-		{
-			return _selected;
-		}
-		
-        /**
-         *  @private
-         */
-		public function set selected(value:Boolean):void
-		{
-			_selected = value;
-			
-			layoutControl();
-			
-			if( value ) {
-				SimpleButton(_strand).upState = upAndSelectedSprite;
-				SimpleButton(_strand).downState = downAndSelectedSprite;
-				SimpleButton(_strand).overState = overAndSelectedSprite;
-				
-			} else {
-				SimpleButton(_strand).upState = upSprite;
-				SimpleButton(_strand).downState = downSprite;
-				SimpleButton(_strand).overState = overSprite;
-			}
-		}
-		
-		private function selectedChangeHandler(event:Event):void
-		{
-			selected = toggleButtonModel.selected;
-		}
-		
-        /**
-         *  Display the icon and text label
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		protected function layoutControl() : void
-		{
-            // TODO: Layout using descendant selectors (.checkbox .icons)
-			for (var p:String in suffixMap)
-			{
-                var s:Sprite = this[p];
-				var icon:StyleableCSSTextField = s.getChildByName("icon") as StyleableCSSTextField;
-                icon.autoSize = TextFieldAutoSize.LEFT;
-				var tf:CSSTextField = s.getChildByName("textField") as CSSTextField;
-				
-                icon.CSSParent = _strand;
-                var content:String = ValuesManager.valuesImpl.getValue(icon, "content", "before");
-                if (content != null)
-                    icon.text = content;
-				var mh:Number = Math.max(icon.height,tf.height);
-				
-                var padding:Object = ValuesManager.valuesImpl.getValue(_strand, "padding");
-                var paddingLeft:Object = ValuesManager.valuesImpl.getValue(_strand,"padding-left");
-                icon.x = 0;
-				icon.y = (mh - icon.height)/2;
-				
-				tf.x = CSSUtils.getLeftValue(paddingLeft, padding, s.width);
-				tf.y = (mh - tf.height)/2;
-			}
-			
-		}
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarButtonView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarButtonView.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarButtonView.as
deleted file mode 100644
index 09669c4..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarButtonView.as
+++ /dev/null
@@ -1,178 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat.beads
-{
-    import flash.display.DisplayObject;
-    import flash.display.Loader;
-    import flash.display.Shape;
-    import flash.display.SimpleButton;
-    import flash.display.Sprite;
-    import flash.events.Event;
-    import flash.net.URLRequest;
-    
-    import org.apache.flex.core.BeadViewBase;
-    import org.apache.flex.core.CSSShape;
-    import org.apache.flex.core.IBeadView;
-    import org.apache.flex.core.IStrand;
-    import org.apache.flex.core.ITextModel;
-    import org.apache.flex.core.ValuesManager;
-    import org.apache.flex.events.Event;
-    import org.apache.flex.events.IEventDispatcher;
-    import org.apache.flex.utils.CSSBorderUtils;
-    import org.apache.flex.utils.CSSUtils;
-    import org.apache.flex.utils.StringTrimmer;
-
-    /**
-     *  The CSSScrollBarButtonView class is the default view for
-     *  the buttons in a org.apache.flex.html.ScrollBar class.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class CSSScrollBarButtonView extends BeadViewBase implements IBeadView
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function CSSScrollBarButtonView()
-		{
-			upSprite = new Sprite();
-			downSprite = new Sprite();
-			overSprite = new Sprite();
-            upArrowShape = new CSSShape();
-            downArrowShape = new CSSShape();
-            overArrowShape = new CSSShape();
-            overArrowShape.state = "hover";
-            upSprite.addChild(upArrowShape);
-            downSprite.addChild(downArrowShape);
-            overSprite.addChild(overArrowShape);
-		}
-		
-		private var textModel:ITextModel;
-		
-		private var shape:Shape;
-		
-        /**
-         *  @copy org.apache.flex.core.IBead#strand
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		override public function set strand(value:IStrand):void
-		{
-			super.strand = value;
-			shape = new Shape();
-			shape.graphics.beginFill(0xCCCCCC);
-			shape.graphics.drawRect(0, 0, 10, 10);
-			shape.graphics.endFill();
-			SimpleButton(value).upState = upSprite;
-			SimpleButton(value).downState = downSprite;
-			SimpleButton(value).overState = overSprite;
-			SimpleButton(value).hitTestState = shape;
-
-            setupBackground(overSprite, overArrowShape, "hover");
-            setupBackground(downSprite, downArrowShape, "active");
-            setupBackground(upSprite, upArrowShape);
-            
-            IEventDispatcher(_strand).addEventListener("widthChanged",sizeChangeHandler);
-            IEventDispatcher(_strand).addEventListener("heightChanged",sizeChangeHandler);
-		}
-	
-        private function sizeChangeHandler(event:org.apache.flex.events.Event):void
-        {
-            setupSkins();
-        }
-        
-        protected function setupSkins():void
-        {
-            setupSkin(overSprite, overArrowShape, "hover");
-            setupSkin(downSprite, downArrowShape, "active");
-            setupSkin(upSprite, upArrowShape);
-            updateHitArea();
-        }
-
-		private function setupSkin(sprite:Sprite, shape:CSSShape, state:String = null):void
-		{
-			var padding:Object = ValuesManager.valuesImpl.getValue(_strand, "padding", state);
-			var paddingLeft:Object = ValuesManager.valuesImpl.getValue(_strand, "padding-left", state);
-			var paddingRight:Object = ValuesManager.valuesImpl.getValue(_strand, "padding-right", state);
-			var paddingTop:Object = ValuesManager.valuesImpl.getValue(_strand, "padding-top", state);
-			var paddingBottom:Object = ValuesManager.valuesImpl.getValue(_strand, "padding-bottom", state);
-			var pl:Number = CSSUtils.getLeftValue(paddingLeft, padding, DisplayObject(_strand).width);
-            var pr:Number = CSSUtils.getRightValue(paddingRight, padding, DisplayObject(_strand).width);
-            var pt:Number = CSSUtils.getTopValue(paddingTop, padding, DisplayObject(_strand).height);
-            var pb:Number = CSSUtils.getBottomValue(paddingBottom, padding, DisplayObject(_strand).height);
-			
-            var w:Object = ValuesManager.valuesImpl.getValue(shape, "width", state);
-            var h:Object = ValuesManager.valuesImpl.getValue(shape, "height", state);
-            shape.draw(Number(w), Number(h));
-            
-		    CSSBorderUtils.draw(sprite.graphics, 
-					shape.width + pl + pr, 
-					shape.height + pt + pb,
-                    _strand as DisplayObject,
-                    state, true);
-		}
-		
-        private function setupBackground(sprite:Sprite, shape:CSSShape, state:String = null):void
-        {
-            var backgroundImage:Object = ValuesManager.valuesImpl.getValue(_strand, "background-image", state);
-            if (backgroundImage)
-            {
-                var loader:Loader = new Loader();
-                sprite.addChildAt(loader, 0);
-                var url:String = backgroundImage as String;
-                loader.load(new URLRequest(url));
-                loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, function (e:flash.events.Event):void { 
-                    setupSkin(sprite, shape, state);
-                    updateHitArea();
-                });
-            }
-            else {
-                setupSkin(sprite, shape, state);
-                updateHitArea();
-            }
-        }
-        
-		private var upSprite:Sprite;
-		private var downSprite:Sprite;
-		private var overSprite:Sprite;
-        public var upArrowShape:CSSShape;
-        public var downArrowShape:CSSShape;
-        public var overArrowShape:CSSShape;
-				
-		private function updateHitArea():void
-		{
-			shape.graphics.clear();
-			shape.graphics.beginFill(0xCCCCCC);
-			shape.graphics.drawRect(0, 0, upSprite.width, upSprite.height);
-			shape.graphics.endFill();
-			
-		}
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarView.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarView.as
deleted file mode 100644
index 38583f6..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CSSScrollBarView.as
+++ /dev/null
@@ -1,241 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat.beads
-{
-	import flash.display.DisplayObject;
-	
-    import org.apache.flex.core.IBead;
-	import org.apache.flex.core.IBeadLayout;
-	import org.apache.flex.core.IBeadView;
-	import org.apache.flex.core.IScrollBarModel;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.IUIBase;
-	import org.apache.flex.core.Strand;
-	import org.apache.flex.core.UIBase;
-	import org.apache.flex.core.ValuesManager;
-    import org.apache.flex.events.IEventDispatcher;
-    import org.apache.flex.events.Event;
-	import org.apache.flex.html.Button;
-	import org.apache.flex.html.beads.controllers.ButtonAutoRepeatController;
-    import org.apache.flex.html.beads.IScrollBarView;
-
-    /**
-     *  The ScrollBarView class is the default view for
-     *  the org.apache.flex.html.supportClasses.ScrollBar class.
-     *  It implements the classic desktop-like ScrollBar.
-     *  A different view would implement more modern scrollbars that hide themselves
-     *  until hovered over with the mouse.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class CSSScrollBarView extends Strand implements IBeadView, IStrand, IScrollBarView
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function CSSScrollBarView()
-		{
-		}
-				
-		private var sbModel:IScrollBarModel;
-		
-		private var _strand:IStrand;
-		
-        /**
-         *  The layout. 
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        private var layout:IBeadLayout;
-        
-        /**
-         *  The host component. 
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get host():IUIBase
-        {
-            return _strand as IUIBase;
-        }
-
-        /**
-         *  @copy org.apache.flex.core.IBead#strand
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-            
-            for each (var bead:IBead in beads)
-                addBead(bead);
-                        
-			sbModel = value.getBeadByType(IScrollBarModel) as IScrollBarModel;
-            sbModel = _strand.getBeadByType(IScrollBarModel) as IScrollBarModel;
-            sbModel.addEventListener("maximumChange", changeHandler);
-            sbModel.addEventListener("minimumChange", changeHandler);
-            sbModel.addEventListener("snapIntervalChange", changeHandler);
-            sbModel.addEventListener("stepSizeChange", changeHandler);
-            sbModel.addEventListener("pageSizeChange", changeHandler);
-            sbModel.addEventListener("valueChange", changeHandler);
-            
-            // TODO: (aharui) put in values impl
-			_increment = new Button();
-            Button(_increment).className = "vscrollbar-downarrow-btn";
-            var sbView:CSSScrollBarButtonView = new CSSScrollBarButtonView();
-            sbView.upArrowShape.className = "vscrollbar-downarrow";
-            sbView.downArrowShape.className = "vscrollbar-downarrow";
-            sbView.overArrowShape.className = "vscrollbar-downarrow";
-            Button(_increment).addBead(sbView);
-            Button(_increment).addBead(new ButtonAutoRepeatController());
-			_decrement = new Button();
-            Button(_decrement).className = "vscrollbar-uparrow-btn";
-            sbView = new CSSScrollBarButtonView();
-            sbView.upArrowShape.className = "vscrollbar-uparrow";
-            sbView.downArrowShape.className = "vscrollbar-uparrow";
-            sbView.overArrowShape.className = "vscrollbar-uparrow";
-            Button(_decrement).addBead(sbView);
-            Button(_decrement).addBead(new ButtonAutoRepeatController());
-			_track = new Button();
-            Button(_track).className = "vscrollbar-track";
-			_thumb = new Button();				
-            Button(_thumb).className = "vscrollbar-thumb";
-            
-            UIBase(value).addElement(_decrement);
-            UIBase(value).addElement(_increment);
-            UIBase(value).addElement(_track);
-            UIBase(value).addElement(_thumb);
-            
-            IEventDispatcher(_strand).addEventListener("heightChanged", changeHandler);
-            
-            if( _strand.getBeadByType(IBeadLayout) == null ) {
-                layout = new (ValuesManager.valuesImpl.getValue(_strand, "iBeadLayout")) as IBeadLayout;
-                _strand.addBead(layout);
-            }
-            layout.layout();
-		}
-						
-        private function changeHandler(event:Event):void
-        {
-            layout.layout();    
-        }
-        
-		private var _decrement:DisplayObject;
-		private var _increment:DisplayObject;
-		private var _track:DisplayObject;
-		private var _thumb:DisplayObject;
-		
-        /**
-         *  @copy org.apache.flex.html.beads.IScrollBarView#decrement
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get decrement():DisplayObject
-		{
-			return _decrement;
-		}
-
-        /**
-         *  @copy org.apache.flex.html.beads.IScrollBarView#increment
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get increment():DisplayObject
-		{
-			return _increment;
-		}
-        
-        /**
-         *  @copy org.apache.flex.html.beads.IScrollBarView#track
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get track():DisplayObject
-		{
-			return _track;
-		}
-        
-        /**
-         *  @copy org.apache.flex.html.beads.IScrollBarView#thumb
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get thumb():DisplayObject
-		{
-			return _thumb;
-		}
-		
-        /**
-         *  @copy org.apache.flex.core.IBeadView#viewHeight
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get viewHeight():Number
-        {
-            // don't want to put $height in an interface
-            return _strand["$height"];
-        }
-        
-        /**
-         *  @copy org.apache.flex.core.IBeadView#viewWidth
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get viewWidth():Number
-        {
-            // don't want to put $width in an interface
-            return _strand["$width"];
-        }
-	}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fab4c21e/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CheckboxCSSContentAndTextToggleButtonView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CheckboxCSSContentAndTextToggleButtonView.as b/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CheckboxCSSContentAndTextToggleButtonView.as
deleted file mode 100644
index e52076f..0000000
--- a/frameworks/projects/Flat/as/src/org/apache/flex/flat/beads/CheckboxCSSContentAndTextToggleButtonView.as
+++ /dev/null
@@ -1,48 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.flat.beads
-{
-	
-    /**
-     *  The CheckboxCSSContentAndTextToggleButtonView class is the default view for
-     *  the org.apache.flex.flat.Checkbox class.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
-     */
-	public class CheckboxCSSContentAndTextToggleButtonView extends CSSContentAndTextToggleButtonView
-	{
-        /**
-         *  Constructor.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function CheckboxCSSContentAndTextToggleButtonView()
-		{
-			super();
-			
-			className = "checkbox-icon";
-		}
-	}
-}


Mime
View raw message