Repository: flex-asjs
Updated Branches:
  refs/heads/feature-autobuild/example-maven-dirs ecb145099 -> 8d495540e


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
new file mode 100644
index 0000000..285282a
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/supportClasses/Viewport.as
@@ -0,0 +1,151 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.html.supportClasses
+{
+       import org.apache.flex.core.IBead;
+       import org.apache.flex.core.IContentView;
+       import org.apache.flex.core.IParentIUIBase;
+       import org.apache.flex.core.IStrand;
+       import org.apache.flex.core.IUIBase;
+       import org.apache.flex.core.IViewport;
+       import org.apache.flex.core.IViewportModel;
+       import org.apache.flex.core.UIBase;
+    import org.apache.flex.core.ValuesManager;
+       import org.apache.flex.events.Event;
+    import org.apache.flex.geom.Rectangle;
+    import org.apache.flex.geom.Size;
+       import org.apache.flex.html.beads.models.ScrollBarModel;
+    import org.apache.flex.utils.CSSContainerUtils;
+
+    /**
+     * A Viewport is the area of a Container set aside for displaying
+     * content and any scrolling controls.
+        *
+        *  @langversion 3.0
+        *  @playerversion Flash 10.2
+        *  @playerversion AIR 2.6
+        *  @productversion FlexJS 0.0
+     */
+       public class Viewport implements IBead, IViewport
+       {
+               /**
+                * Constructor
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 10.2
+            *  @playerversion AIR 2.6
+            *  @productversion FlexJS 0.0
+                */
+               public function Viewport()
+               {
+               }
+
+               protected var contentArea:UIBase;
+
+               /**
+                * Get the actual parent of the container's content.
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 10.2
+            *  @playerversion AIR 2.6
+            *  @productversion FlexJS 0.0
+                */
+        public function get contentView():IUIBase
+        {
+            return contentArea;
+        }
+
+               protected var _strand:IStrand;
+
+        /**
+         * @flexjsignorecoercion Class
+         */
+               public function set strand(value:IStrand):void
+               {
+                       _strand = value;
+            contentArea = _strand.getBeadByType(IContentView) as UIBase;
+            if (!contentArea)
+            {
+                var c:Class = ValuesManager.valuesImpl.getValue(_strand, 
'iContentView') as Class;
+                contentArea = new c() as UIBase;
+            }
+               }
+
+        /**
+         * @copy org.apache.flex.core.IViewport#setPosition()
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 10.2
+            *  @playerversion AIR 2.6
+            *  @productversion FlexJS 0.0
+         */
+        public function setPosition(x:Number, y:Number):void
+        {
+            contentArea.x = x;
+            contentArea.y = y;
+        }
+
+        /**
+         * @copy 
org.apache.flex.core.IViewport#layoutViewportBeforeContentLayout()
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 10.2
+            *  @playerversion AIR 2.6
+            *  @productversion FlexJS 0.0
+         */
+               public function layoutViewportBeforeContentLayout(width:Number, 
height:Number):void
+               {
+                       if (!isNaN(width))
+                contentArea.width = width;
+            if (!isNaN(height))
+                contentArea.height = height;
+               }
+
+        /**
+         * @copy 
org.apache.flex.core.IViewport#layoutViewportAfterContentLayout()
+            *
+            *  @langversion 3.0
+            *  @playerversion Flash 10.2
+            *  @playerversion AIR 2.6
+            *  @productversion FlexJS 0.0
+         */
+               public function layoutViewportAfterContentLayout():Size
+               {
+            // pass through all of the children and determine the maxWidth and 
maxHeight
+            // note: this is not done on the JavaScript side because the 
browser handles
+            // this automatically.
+            var maxWidth:Number = 0;
+            var maxHeight:Number = 0;
+            var num:Number = contentArea.numElements;
+
+            for (var i:int=0; i < num; i++) {
+                var child:IUIBase = contentArea.getElementAt(i) as IUIBase;
+                if (child == null || !child.visible) continue;
+                var childXMax:Number = child.x + child.width;
+                var childYMax:Number = child.y + child.height;
+                maxWidth = Math.max(maxWidth, childXMax);
+                maxHeight = Math.max(maxHeight, childYMax);
+            }
+
+            var padding:Rectangle = 
CSSContainerUtils.getPaddingMetrics(this._strand);
+            return new Size(maxWidth + padding.right, maxHeight + 
padding.bottom);
+               }
+
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/TextButton.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/TextButton.as 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/TextButton.as
new file mode 100644
index 0000000..83a2821
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/svg/TextButton.as
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.svg
+{
+       import org.apache.flex.html.TextButton;
+       
+       public class TextButton extends org.apache.flex.html.TextButton
+       {
+               public function TextButton()
+               {
+                       super();
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/resources/basic-as-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/basic-as-manifest.xml 
b/frameworks/projects/Basic/src/main/resources/basic-as-manifest.xml
new file mode 100644
index 0000000..26b7d42
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/resources/basic-as-manifest.xml
@@ -0,0 +1,37 @@
+<?xml version="1.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.
+
+-->
+
+
+<componentPackage>
+
+    <!-- component id="ListViewNoSelectionState" 
class="org.apache.flex.html.beads.ListViewNoSelectionState"/ -->
+    <!--<component id="MultilineTextFieldView" 
class="org.apache.flex.html.beads.MultilineTextFieldView"/>-->
+    
+     <component id="TextFieldItemRenderer" 
class="org.apache.flex.html.supportClasses.TextFieldItemRenderer"/>
+    <component id="HScrollBar" 
class="org.apache.flex.html.supportClasses.HScrollBar"/>
+    <component id="VScrollBar" 
class="org.apache.flex.html.supportClasses.VScrollBar"/>
+    <!--
+     <component id="HRuleView" class="org.apache.flex.html.beads.HRuleView" />
+     <component id="VRuleView" class="org.apache.flex.html.beads.VRuleView" />
+     -->
+    <!--
+    <component id="ImageAndTextButtonView" 
class="org.apache.flex.html.beads.ImageAndTextButtonView" />
+     -->
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml 
b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
new file mode 100644
index 0000000..6737a40
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -0,0 +1,127 @@
+<?xml version="1.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.
+
+-->
+
+
+<componentPackage>
+
+    <component id="Button" class="org.apache.flex.html.Button"/>
+    <component id="CloseButton" class="org.apache.flex.html.CloseButton"/>
+    <component id="ButtonBar" class="org.apache.flex.html.ButtonBar"/>
+    <component id="DropDownList" class="org.apache.flex.html.DropDownList"/>
+    <component id="DropDownListList" 
class="org.apache.flex.html.supportClasses.DropDownListList"/>
+    <component id="Image" class="org.apache.flex.html.Image"/>
+    <component id="Label" class="org.apache.flex.html.Label"/>
+    <component id="MultilineLabel" 
class="org.apache.flex.html.MultilineLabel"/>
+    <component id="ImageAndTextButton" 
class="org.apache.flex.html.ImageAndTextButton"/>
+    <component id="TextButton" class="org.apache.flex.html.TextButton"/>
+    <component id="ToggleTextButton" 
class="org.apache.flex.html.ToggleTextButton"/>
+    <component id="TextInput" class="org.apache.flex.html.TextInput"/>
+    <component id="TextArea" class="org.apache.flex.html.TextArea"/>
+    <component id="List" class="org.apache.flex.html.List"/>
+    <component id="SimpleList" class="org.apache.flex.html.SimpleList"/>
+    <component id="CheckBox" class="org.apache.flex.html.CheckBox"/>
+    <component id="RadioButton" class="org.apache.flex.html.RadioButton"/>
+    <component id="ComboBox" class="org.apache.flex.html.ComboBox"/>
+    <component id="Container" class="org.apache.flex.html.Container"/>
+    <component id="Form" class="org.apache.flex.html.Form"/>
+    <component id="HContainer" class="org.apache.flex.html.HContainer"/>
+    <component id="VContainer" class="org.apache.flex.html.VContainer"/>
+    <component id="Panel" class="org.apache.flex.html.Panel"/>
+    <component id="PanelView" class="org.apache.flex.html.beads.PanelView"/>
+    <component id="ImageView" class="org.apache.flex.html.beads.ImageView"/>
+    <component id="PanelWithControlBar" 
class="org.apache.flex.html.PanelWithControlBar"/>
+    <component id="ControlBar" class="org.apache.flex.html.ControlBar"/>
+    <component id="RangeStepper" class="org.apache.flex.html.RangeStepper" />
+    <component id="TitleBar" class="org.apache.flex.html.TitleBar"/>
+    <component id="ImageModel" 
class="org.apache.flex.html.beads.models.ImageModel"/>
+    <component id="TitleBarModel" 
class="org.apache.flex.html.beads.models.TitleBarModel"/>
+    <component id="ToolTip" class="org.apache.flex.html.ToolTip"/>
+    <component id="Tree" class="org.apache.flex.html.Tree"/>
+    <component id="BasicLayout" 
class="org.apache.flex.html.beads.layouts.BasicLayout"/>
+    <component id="VerticalLayout" 
class="org.apache.flex.html.beads.layouts.VerticalLayout"/>
+    <component id="HorizontalLayout" 
class="org.apache.flex.html.beads.layouts.HorizontalLayout"/>
+    <component id="TileLayout" 
class="org.apache.flex.html.beads.layouts.TileLayout"/>
+    <component id="ListView" class="org.apache.flex.html.beads.ListView"/>
+    <!--<component id="MultilineTextFieldView" 
class="org.apache.flex.html.beads.MultilineTextFieldView"/>-->
+    
+    <component id="SimpleAlert" class="org.apache.flex.html.SimpleAlert"/>
+    <component id="Alert" class="org.apache.flex.html.Alert"/>
+    <component id="Spinner" class="org.apache.flex.html.Spinner"/>
+    <component id="Slider" class="org.apache.flex.html.Slider"/>
+    <component id="NumericStepper" class="org.apache.flex.html.NumericStepper" 
/>
+    <component id="StringItemRenderer" 
class="org.apache.flex.html.supportClasses.StringItemRenderer"/>
+    <component id="TreeItemRenderer" 
class="org.apache.flex.html.supportClasses.TreeItemRenderer"/>
+    <component id="DataItemRenderer" 
class="org.apache.flex.html.supportClasses.DataItemRenderer"/>
+    <component id="ButtonBarButtonItemRenderer" 
class="org.apache.flex.html.supportClasses.ButtonBarButtonItemRenderer"/>
+    <!--
+     <component id="TextFieldItemRenderer" 
class="org.apache.flex.html.supportClasses.TextFieldItemRenderer"/>
+    <component id="HScrollBar" 
class="org.apache.flex.html.supportClasses.HScrollBar"/>
+    <component id="VScrollBar" 
class="org.apache.flex.html.supportClasses.VScrollBar"/>
+     <component id="HRuleView" class="org.apache.flex.html.beads.HRuleView" />
+     <component id="VRuleView" class="org.apache.flex.html.beads.VRuleView" />
+     -->
+    <component id="NumericOnlyTextInputBead" 
class="org.apache.flex.html.accessories.NumericOnlyTextInputBead" />
+    <component id="PasswordInputBead" 
class="org.apache.flex.html.accessories.PasswordInputBead" />
+    <component id="TextPromptBead" 
class="org.apache.flex.html.accessories.TextPromptBead" />
+    <component id="HRule" class="org.apache.flex.html.HRule" />
+    <component id="VRule" class="org.apache.flex.html.VRule" />
+    <component id="Spacer" class="org.apache.flex.html.Spacer" />
+    <!--
+    <component id="ImageAndTextButtonView" 
class="org.apache.flex.html.beads.ImageAndTextButtonView" />
+     -->
+    <component id="ScrollingViewport" 
class="org.apache.flex.html.supportClasses.ScrollingViewport" />
+    
+    <component id="ArraySelectionModel" 
class="org.apache.flex.html.beads.models.ArraySelectionModel" />
+    <component id="ArrayListSelectionModel" 
class="org.apache.flex.html.beads.models.ArrayListSelectionModel" />
+
+    <component id="DataGrid" class="org.apache.flex.html.DataGrid"/>
+    <component id="DataProviderChangeNotifier" 
class="org.apache.flex.html.beads.DataProviderChangeNotifier"/>
+    <component id="DataGridButtonBar" 
class="org.apache.flex.html.DataGridButtonBar"/>
+    <component id="DataGridButtonBarTextButton" 
class="org.apache.flex.html.DataGridButtonBarTextButton"/>
+    <component id="DataGridColumn" 
class="org.apache.flex.html.supportClasses.DataGridColumn"/>
+    <component id="DataGridLinesBead" 
class="org.apache.flex.html.beads.DataGridLinesBead"/>
+    <component id="DataGridColumnList" 
class="org.apache.flex.html.supportClasses.DataGridColumnList"/>
+    <component id="DataGridLayout" 
class="org.apache.flex.html.beads.layouts.DataGridLayout" />
+    <component id="DataGridPercentageLayout" 
class="org.apache.flex.html.beads.layouts.DataGridPercentageLayout" />
+    
+    <component id="DataItemRendererFactoryForArrayData" 
class="org.apache.flex.html.beads.DataItemRendererFactoryForArrayData" />
+    <component id="DataItemRendererFactoryForArrayList" 
class="org.apache.flex.html.beads.DataItemRendererFactoryForArrayList" />
+    <component id="DataItemRendererFactoryForHierarchicalData" 
class="org.apache.flex.html.beads.DataItemRendererFactoryForHierarchicalData" />
+    <component id="TextItemRendererFactoryForArrayData" 
class="org.apache.flex.html.beads.TextItemRendererFactoryForArrayData" />
+    <component id="TextItemRendererFactoryForStringVectorData" 
class="org.apache.flex.html.beads.TextItemRendererFactoryForStringVectorData" />
+
+    <component id="DateChooser" class="org.apache.flex.html.DateChooser"/>
+    <component id="DateField" class="org.apache.flex.html.DateField"/>
+    <component id="VerticalColumnLayout" 
class="org.apache.flex.html.beads.layouts.VerticalColumnLayout" />
+
+    <component id="ToolTipBead" 
class="org.apache.flex.html.accessories.ToolTipBead" />
+
+    <component id="LayoutChangeNotifier" 
class="org.apache.flex.html.beads.layouts.LayoutChangeNotifier"/>
+    <component id="ImageButton" class="org.apache.flex.html.ImageButton"/>
+    <component id="FlexibleFirstChildHorizontalLayout" 
class="org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout"/>
+    <component id="OneFlexibleChildVerticalLayout" 
class="org.apache.flex.html.beads.layouts.OneFlexibleChildVerticalLayout"/>
+    <component id="OneFlexibleChildHorizontalLayout" 
class="org.apache.flex.html.beads.layouts.OneFlexibleChildHorizontalLayout"/>
+    <component id="MXMLBeadView" class="org.apache.flex.html.MXMLBeadView"/>
+
+    <component id="Border" class="org.apache.flex.html.supportClasses.Border"/>
+    
+    <component id="WebBrowser" class="org.apache.flex.html.WebBrowser" />
+
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css 
b/frameworks/projects/Basic/src/main/resources/defaults.css
new file mode 100644
index 0000000..40ed0b5
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -0,0 +1,672 @@
+/*
+ *
+ *  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/basic";
+@namespace svg "library://ns.apache.org/flexjs/svg";
+
+/* Global style declaration */
+*
+{
+    font-family: "Arial";
+    font-size: 12px;
+       border-width: 1px;
+}
+
+.flexjs *, . flexjs *:before, . flexjs *:after {
+    -moz-box-sizing: border-box;
+    -webkit-box-sizing: border-box;
+    box-sizing: border-box;
+}
+
+Application
+{
+       padding: 0px;
+       margin: 0px;
+}
+
+Button
+{
+  background-color: #f8f8f8;
+  border: 1px solid #808080;
+  border-radius: 2px;
+  padding: 4px;
+  margin: 0px;
+}
+
+Button:hover
+{
+  background-color: #e8e8e8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+Button:active
+{
+  background-color: #d8d8d8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+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");
+    IContentView: 
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;
+}
+
+Container
+{
+    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
+    IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.BasicLayout");
+    IContentView: 
ClassReference("org.apache.flex.html.supportClasses.ContainerContentArea");
+       IViewport: 
ClassReference("org.apache.flex.html.supportClasses.Viewport");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+}
+
+ControlBar
+{
+       IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
+       IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.FlexibleFirstChildHorizontalLayout");
+       
+    background-color: #CECECE;
+       border-style: none;
+    /*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");
+       IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.DataGridLayout");
+
+    background-color: #FFFFFF;
+       border-style: solid;
+       border-color: #222222;
+       border-width: 1px;
+}
+
+DataGridButtonBar
+{
+       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");
+       IContentView: 
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.DataGridButtonBarButtonItemRenderer");
+       
+       border-style: none;
+}
+
+DataGridColumnList {
+       IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.DataGridModel");
+       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");
+       IContentView: 
ClassReference("org.apache.flex.html.supportClasses.DataGroup");
+       IDataProviderItemRendererMapper: 
ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForArrayList");
+       IItemRendererClassFactory: 
ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+       IItemRenderer: 
ClassReference("org.apache.flex.html.supportClasses.StringItemRenderer");
+       IViewport: 
ClassReference("org.apache.flex.html.supportClasses.Viewport");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+       border-style: none;
+       background-color: #FFFFFF;
+}
+
+.DataGridListArea {
+       background-color: #FFFFFF;
+       border-style: solid;
+       border-color: #333333;
+}
+
+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");
+}
+
+RangeStepper {
+       IBeadView: 
ClassReference("org.apache.flex.html.beads.RangeStepperView");
+       IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.RangeModelExtended");
+       IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.RangeStepperMouseController");
+}
+
+Form {
+    
+}
+
+HContainer
+{
+    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
+    IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout");
+}
+
+Image
+{
+       vertical-align: top;
+       IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageModel");
+       IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
+}
+
+ImageAndTextButton
+{
+    IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ImageAndTextModel");
+}
+
+ImageButton
+{
+    border-style: none;
+}
+
+ImageButton:hover
+{
+    border-style: none;
+}
+
+ImageButton:active
+{
+    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");
+    IContentView: 
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");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+       border-style: solid;
+       border-color: #222222;
+}
+
+Tree
+{
+       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.TreeSingleSelectionMouseController");
+       IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.VerticalLayout");
+       IContentView: 
ClassReference("org.apache.flex.html.supportClasses.DataGroup");
+       IDataProviderItemRendererMapper: 
ClassReference("org.apache.flex.html.beads.DataItemRendererFactoryForHierarchicalData");
+       IItemRendererClassFactory: 
ClassReference("org.apache.flex.core.ItemRendererClassFactory");
+       IItemRenderer: 
ClassReference("org.apache.flex.html.supportClasses.TreeItemRenderer");
+       IViewport: 
ClassReference("org.apache.flex.html.supportClasses.ScrollingViewport");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+       border-style: solid;
+       border-color: #222222;
+}
+
+NumericStepper
+{
+    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
+}
+
+Panel
+{
+    IBeadModel: ClassReference("org.apache.flex.html.beads.models.PanelModel");
+    IBeadView: ClassReference("org.apache.flex.html.beads.PanelView");
+    
+    background-color: #FFFFFF;
+    border-style: solid;
+    border-color: #000000;
+    border-width: 1px;
+       padding: 2px;
+}
+
+PanelWithControlBar
+{
+    IBeadModel: ClassReference("org.apache.flex.html.beads.models.PanelModel");
+    IBeadView: 
ClassReference("org.apache.flex.html.beads.PanelWithControlBarView");
+    
+    background-color: #FFFFFF;
+    border-style: solid;
+    border-color: #000000;
+    border-width: 1px;
+       padding: 2px;
+}
+
+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");
+    IContentView: 
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");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+}
+
+Slider
+{
+    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
+}
+
+Spinner
+{
+    IBeadModel: ClassReference("org.apache.flex.html.beads.models.RangeModel");
+    IBeadView:  ClassReference("org.apache.flex.html.beads.SpinnerView");
+}
+
+
+StringItemRenderer
+{
+    IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
+    height: 16;
+}
+
+TreeItemRenderer
+{
+       IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.ItemRendererMouseController");
+       height: 16;
+}
+
+TextInput
+{
+  border: 1px solid #808080;
+  border-radius: 2px;
+  padding: 4px;
+  margin: 0px;
+}
+
+TextArea
+{
+  border: 1px solid #808080;
+  border-radius: 2px;
+  padding: 4px;
+  resize: none;
+}
+
+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");
+    background-color: #E2E2E2;
+    border-style: solid;
+    border-color: #000000;
+    border-width: 1px;
+}
+
+.toggleTextButton
+{
+  background-color: #f8f8f8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+.toggleTextButton:hover
+{
+  background-color: #e8e8e8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+.toggleTextButton_Selected
+{
+  background-color: #d8d8d8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+.toggleTextButton_Selected:hover
+{
+  background-color: #e8e8e8;
+  border: 1px solid #808080;
+  padding: 4px;
+}
+
+ToolTip
+{
+    background-color: #FFFFCC;
+}
+
+View
+{
+    IBeadView: ClassReference("org.apache.flex.html.beads.ContainerView");
+    IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.BasicLayout");
+    IContentView: 
ClassReference("org.apache.flex.html.supportClasses.ContainerContentArea");
+       IViewport: 
ClassReference("org.apache.flex.html.supportClasses.Viewport");
+       IViewportModel: 
ClassReference("org.apache.flex.html.beads.models.ViewportModel");
+}
+
+WebBrowser
+{
+       IBeadView: ClassReference("org.apache.flex.html.beads.WebBrowserView");
+       IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.WebBrowserModel");
+}
+
+
+/* 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-color: inherit;
+  border-style: inherit;
+  border-radius: inherit;
+  border-width: 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.html.beads.CheckBoxView");     
                
+}
+
+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.html.beads.DropDownListView");
+    IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.DropDownListController");
+    IPopUp: 
ClassReference("org.apache.flex.html.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.html.supportClasses.StringItemRenderer");
+    iBackgroundBead: 
ClassReference('org.apache.flex.html.beads.SolidBackgroundBead');
+    border-style: solid;
+    border-radius: 4px;
+    border-color: #000000;
+    border-width: 1px;
+    background-color: #FFFFFF;
+}
+
+HRule
+{
+    IBeadView:  ClassReference("org.apache.flex.html.beads.HRuleView");
+}
+
+ImageButton
+{
+    IBeadView: ClassReference("org.apache.flex.html.beads.ImageButtonView");
+}
+
+ImageAndTextButton
+{
+    IBeadView: 
ClassReference("org.apache.flex.html.beads.CSSImageAndTextButtonView");
+}
+
+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
+{
+    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.html.beads.RadioButtonView");  
                
+}
+
+VScrollBar
+{
+    IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.VScrollBarLayout");
+    IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ScrollBarModel");
+    IBeadView: ClassReference("org.apache.flex.html.beads.VScrollBarView");
+    IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.VScrollBarMouseController");
+}
+
+HScrollBar
+{
+       IBeadLayout: 
ClassReference("org.apache.flex.html.beads.layouts.HScrollBarLayout");
+       IBeadModel: 
ClassReference("org.apache.flex.html.beads.models.ScrollBarModel");
+       IBeadView: ClassReference("org.apache.flex.html.beads.HScrollBarView");
+       IBeadController: 
ClassReference("org.apache.flex.html.beads.controllers.HScrollBarMouseController");
+}
+
+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
+{
+    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
+{
+    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');
+    border-style: solid;
+    border-color: #000000;
+    border-width: 1px;
+    background-color: #FFFFFF;
+}
+
+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');
+    border-style: solid;
+    border-color: #000000;
+    border-width: 1px;
+    background-color: #FFFFFF;
+}
+
+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.CSSTextToggleButtonView");
+}
+
+View
+{
+    iBackgroundBead: 
ClassReference("org.apache.flex.html.beads.SolidBackgroundBead");
+    iBorderBead: 
ClassReference("org.apache.flex.html.beads.SingleLineBorderBead");
+}
+
+VRule
+{
+    IBeadView:  ClassReference("org.apache.flex.html.beads.VRuleView");
+}
+
+/* SVG */
+
+svg|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");
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/main/resources/svg-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/resources/svg-manifest.xml 
b/frameworks/projects/Basic/src/main/resources/svg-manifest.xml
new file mode 100644
index 0000000..a32483e
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/resources/svg-manifest.xml
@@ -0,0 +1,24 @@
+<?xml version="1.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.
+
+-->
+
+
+<componentPackage>
+    <component id="TextButton" class="org.apache.flex.svg.TextButton"/>
+</componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/test/flex/FlexUnitFlexJSApplication.mxml
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/test/flex/FlexUnitFlexJSApplication.mxml 
b/frameworks/projects/Basic/src/test/flex/FlexUnitFlexJSApplication.mxml
new file mode 100644
index 0000000..06ad1d6
--- /dev/null
+++ b/frameworks/projects/Basic/src/test/flex/FlexUnitFlexJSApplication.mxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
+                   xmlns:js="library://ns.apache.org/flexjs/basic" 
+                   applicationComplete="runTests()"
+                   >
+    <fx:Script>
+        <![CDATA[
+            import flexUnitTests.DataGridColumnTesterTest;
+            import flexUnitTests.DataGridColumnTester;
+            
+            import org.flexunit.listeners.CIListener;
+            import org.flexunit.runner.FlexUnitCore;
+            
+            public function runTests() : void
+            {
+                var core : FlexUnitCore = new FlexUnitCore();
+                core.addListener(new CIListener());
+                core.run(DataGridColumnTester);
+            }
+            
+        ]]>
+    </fx:Script>
+    <js:valuesImpl>
+        <js:SimpleValuesImpl />
+    </js:valuesImpl>
+
+</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/test/flex/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/test/flex/build.xml 
b/frameworks/projects/Basic/src/test/flex/build.xml
new file mode 100644
index 0000000..df15dc6
--- /dev/null
+++ b/frameworks/projects/Basic/src/test/flex/build.xml
@@ -0,0 +1,165 @@
+<?xml version="1.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.
+
+-->
+
+
+<project name="Basic.test" default="main" basedir=".">
+    <property name="FLEXJS_HOME" location="../../../../../.."/>
+    
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/build.properties"/>
+    <property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
+    <property name="FALCON_HOME" value="${env.FALCON_HOME}"/>
+    <property name="target.name" value="Core-${release.version}.swc" />
+
+       <condition property="browser" value="C:/Program Files/Internet 
Explorer/iexplore.exe">
+               <os family="windows"/>
+    </condition>
+    <condition property="browser" 
value="/Applications/Safari.app/Contents/MacOS/Safari">
+        <os family="mac"/>
+    </condition>
+
+    <property name="report.dir" value="${basedir}/out" />
+    
+    <available file="${FLEXJS_HOME}/../flex-flexunit"
+        type="dir"
+        property="FLEXUNIT_HOME"
+        value="${FLEXJS_HOME}/../flex-flexunit" />
+    
+    <available file="${FLEXJS_HOME}/../flexunit"
+        type="dir"
+        property="FLEXUNIT_HOME"
+        value="${FLEXJS_HOME}/../flexunit" />
+       
+    <available file="${env.FLEXUNIT_HOME}"
+        type="dir"
+        property="FLEXUNIT_HOME"
+        value="${env.FLEXUNIT_HOME}"/>
+
+    <available file="${FLEXUNIT_HOME}/FlexUnit4/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH1"
+        
value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4/target/flexunit-4.3.0-20140410-as3_4.12.0.swc"
 />
+    <property name="FLEXUNIT_LIBPATH1" 
value="-library-path+=${FLEXUNIT_HOME}/flexunit" />
+
+    <available file="${FLEXUNIT_HOME}/FlexUnit4CIListener/target"
+        type="dir"
+        property="FLEXUNIT_LIBPATH2"
+        value="-library-path+=${FLEXUNIT_HOME}/FlexUnit4CIListener/target" />
+        <property name="FLEXUNIT_LIBPATH2" value="-define=CONFIG::dummy,false" 
/>
+
+    <available file="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target"
+        type="dir"
+        property="FLEXUNIT_CLASSPATH"
+        value="${FLEXUNIT_HOME}/FlexUnit4AntTasks/target" />
+    <property name="FLEXUNIT_CLASSPATH" value="${FLEXUNIT_HOME}/flexunit" />
+
+    <target name="main" depends="clean,compile,test" description="Clean test 
of ${target.name}">
+    </target>
+    
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${basedir}">
+                <include name="FlexUnitFlexJSApplication.swf"/>
+            </fileset>
+        </delete>
+        <delete failonerror="false" includeemptydirs="true">
+            <fileset dir="${report.dir}">
+                <include name="**/**"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <path id="lib.path">
+      <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+    </path>
+
+    <target name="compile" description="Compiles FlexUnitApplication.swf">
+        <echo message="Compiling FlexUnitFlexJSApplication.swf"/>
+        <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+        <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+        <echo message="FLEXUNIT_HOME: ${FLEXUNIT_HOME}"/>
+        <echo message="playerglobal.version: ${playerglobal.version}"/>
+
+        <!-- Load the <compc> task. We can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would 
fail. -->
+        <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+        <!--
+            Link in the classes (and their dependencies) for the MXML tags
+            listed in this project's manifest.xml.
+            Also link the additional classes (and their dependencies)
+            listed in FlexJSUIClasses.as,
+            because these aren't referenced by the manifest classes.
+            Keep the standard metadata when compiling.
+            Include the appropriate CSS files and assets in the SWC.
+            Don't include any resources in the SWC.
+            Write a bundle list of referenced resource bundles
+            into the file bundles.properties in this directory.
+        -->
+        <mxmlc fork="true"
+            file="${basedir}/FlexUnitFlexJSApplication.mxml"
+            output="${basedir}/FlexUnitFlexJSApplication.swf">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
+            <arg value="-debug" />
+            <arg value="-compiler.mxml.children-as-data" />
+            <arg 
value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent"
 />
+            <arg 
value="-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent"
 />
+            <arg value="-compiler.binding-value-change-event-type=valueChange" 
/>
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg 
value="-source-path+=${FLEXJS_HOME}/frameworks/projects/Basic/src/main/flex" />
+            <arg value="-library-path+=${FLEXJS_HOME}/frameworks/libs" />
+            <arg value="${FLEXUNIT_LIBPATH1}" />
+            <arg value="${FLEXUNIT_LIBPATH2}" />
+        </mxmlc>
+    </target>
+
+    <target name="test">
+        <taskdef resource="flexUnitTasks.tasks">
+            <classpath>
+                <fileset dir="${FLEXUNIT_CLASSPATH}">
+                    <include name="flexUnitTasks*.jar" />
+                </fileset>
+            </classpath>
+        </taskdef>
+               <mkdir dir="${report.dir}" />
+               <flexunit
+            swf="${basedir}/FlexUnitFlexJSApplication.swf"
+                   workingDir="${basedir}"
+                   toDir="${report.dir}"
+                       haltonfailure="false"
+                       verbose="true"
+                       localTrusted="true"
+                       timeout="90000">
+            <source 
dir="${FLEXJS_HOME}/frameworks/projects/Basic/src/main/flex" />
+            <library dir="${FLEXJS_HOME}/frameworks/libs" />
+        </flexunit>
+        
+               <!-- Generate readable JUnit-style reports -->
+               <junitreport todir="${report.dir}">
+                       <fileset dir="${report.dir}">
+                               <include name="TEST-*.xml" />
+                       </fileset>
+                       <report format="frames" todir="${report.dir}/html" />
+               </junitreport>
+        
+    </target>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTester.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTester.as 
b/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTester.as
new file mode 100644
index 0000000..d10c4c0
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTester.as
@@ -0,0 +1,27 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flexUnitTests
+{
+    [Suite]
+    [RunWith("org.flexunit.runners.Suite")]
+    public class DataGridColumnTester
+    {
+        public var dataGridColumnTesterTest:DataGridColumnTesterTest;
+    }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d8221452/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTesterTest.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTesterTest.as
 
b/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTesterTest.as
new file mode 100644
index 0000000..1a3cc0f
--- /dev/null
+++ 
b/frameworks/projects/Basic/src/test/flex/flexUnitTests/DataGridColumnTesterTest.as
@@ -0,0 +1,55 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flexUnitTests
+{
+    import flexunit.framework.Assert;
+    
+    import org.apache.flex.html.supportClasses.DataGridColumn;
+    
+    public class DataGridColumnTesterTest
+    {          
+        [Before]
+        public function setUp():void
+        {
+        }
+        
+        [After]
+        public function tearDown():void
+        {
+        }
+        
+        [BeforeClass]
+        public static function setUpBeforeClass():void
+        {
+        }
+        
+        [AfterClass]
+        public static function tearDownAfterClass():void
+        {
+        }
+        
+        [Test]
+        public function testLabelProperty():void
+        {
+            var column:DataGridColumn = new DataGridColumn();
+            column.label = "foo";
+            Assert.assertEquals("Error testing DataGridColumn.label", 
column.label, "foo");
+        }        
+    }
+}

Reply via email to