Repository: flex-asjs
Updated Branches:
  refs/heads/develop b82be6024 -> 5c314f8ae


Refactor LayoutTitle to a bead. Continue work on docs and polishing


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

Branch: refs/heads/develop
Commit: 5c314f8ae0279d63b2573d08a929405245d7cbc2
Parents: b82be60
Author: Carlos Rovira <[email protected]>
Authored: Wed Jan 25 01:03:20 2017 +0100
Committer: Carlos Rovira <[email protected]>
Committed: Wed Jan 25 01:03:20 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/MainNavigation.mxml           | 12 +++-
 .../MDLExample/src/main/flex/Sliders.mxml       |  3 -
 .../main/flex/org/apache/flex/mdl/CheckBox.as   |  4 +-
 .../src/main/flex/org/apache/flex/mdl/Dialog.as |  5 --
 .../flex/org/apache/flex/mdl/DialogActions.as   | 19 ++----
 .../flex/org/apache/flex/mdl/DialogContent.as   | 15 ++---
 .../src/main/flex/org/apache/flex/mdl/Drawer.as | 15 ++---
 .../src/main/flex/org/apache/flex/mdl/Footer.as | 11 +--
 .../org/apache/flex/mdl/FooterBottomSection.as  | 11 +--
 .../org/apache/flex/mdl/FooterLeftSection.as    | 11 +--
 .../flex/org/apache/flex/mdl/FooterLinkList.as  |  6 +-
 .../main/flex/org/apache/flex/mdl/FooterLogo.as | 11 +--
 .../org/apache/flex/mdl/FooterRightSection.as   | 11 +--
 .../org/apache/flex/mdl/FooterSocialButton.as   |  6 +-
 .../org/apache/flex/mdl/FooterTopSection.as     | 11 +--
 .../src/main/flex/org/apache/flex/mdl/Grid.as   | 28 +++++---
 .../main/flex/org/apache/flex/mdl/GridCell.as   | 53 +++++++--------
 .../src/main/flex/org/apache/flex/mdl/Header.as | 20 +++---
 .../main/flex/org/apache/flex/mdl/HeaderRow.as  | 13 ++--
 .../main/flex/org/apache/flex/mdl/IconToggle.as | 42 ++++++++----
 .../flex/org/apache/flex/mdl/LayoutTitle.as     | 70 -------------------
 .../org/apache/flex/mdl/NavigationLayout.as     |  5 --
 .../apache/flex/mdl/NavigationLayoutContent.as  |  5 --
 .../src/main/flex/org/apache/flex/mdl/THead.as  |  5 --
 .../src/main/flex/org/apache/flex/mdl/TabBar.as |  5 --
 .../flex/org/apache/flex/mdl/TabBarPanel.as     |  5 --
 .../src/main/flex/org/apache/flex/mdl/Tabs.as   |  5 --
 .../org/apache/flex/mdl/beads/LayoutTitle.as    | 71 ++++++++++++++++++++
 .../src/main/resources/mdl-manifest.xml         |  2 +-
 29 files changed, 211 insertions(+), 269 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml 
b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
index 947f172..89b2f2d 100644
--- a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
@@ -30,7 +30,11 @@ limitations under the License.
 
     <mdl:Header>
         <mdl:HeaderRow>
-            <mdl:LayoutTitle text="FlexJS Material Design Layout"/>
+            <js:Span text="FlexJS Material Design Layout">
+                <js:beads>
+                    <mdl:LayoutTitle/>
+                </js:beads>
+            </js:Span>
             <mdl:Spacer/>
             <mdl:Navigation>
                 <mdl:beads>
@@ -52,7 +56,11 @@ limitations under the License.
     </mdl:Header>
     
     <mdl:Drawer>
-        <mdl:LayoutTitle text="Drawer"/>
+        <js:Span text="Drawer">
+            <js:beads>
+                <mdl:LayoutTitle/>
+            </js:beads>
+        </js:Span>
         <mdl:Navigation>
                 <mdl:beads>
                     <js:ConstantBinding

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml 
b/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
index ced56f3..919c403 100644
--- a/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/Sliders.mxml
@@ -47,9 +47,6 @@ limitations under the License.
         ]]>
     </fx:Script>
 
-    <!--<mdl:Slider id="slider1" minimum="0" maximum="16" value="2" 
stepSize="1" width="200"
-                                valueChange="onValueChange(event)"/>-->
-
     <mdl:Grid>
         
             <mdl:Card className="demo-card-slider" shadow="2">

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
index daf12bf..346cf37 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/CheckBox.as
@@ -50,7 +50,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
                public function CheckBox()
                {
@@ -177,7 +177,7 @@ package org.apache.flex.mdl
                {
                        return IToggleButtonModel(model).selected;
                }
-        
+
         /**
          *  @private
          */

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Dialog.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Dialog.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Dialog.as
index 58375b2..78c79c3 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Dialog.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Dialog.as
@@ -84,11 +84,6 @@ package org.apache.flex.mdl
                        element = dialog as WrappedHTMLElement;
 
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogActions.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogActions.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogActions.as
index c25ec4c..ed13a7d 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogActions.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogActions.as
@@ -18,8 +18,6 @@
 
////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.mdl
 {
-       import org.apache.flex.core.IChild;
-       import org.apache.flex.core.IUIBase;
        import org.apache.flex.core.ContainerBase;
     
     COMPILE::JS
@@ -28,12 +26,13 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The DialogActions class
+        *  The DialogActions class is a container to use inside Dialog class
+        *  that holds buttons or other components to perform user actions
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class DialogActions extends ContainerBase
        {
@@ -43,7 +42,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function DialogActions()
                {
@@ -63,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
 
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -76,13 +70,14 @@ package org.apache.flex.mdl
                protected var _fullWidth:Boolean = false;
         /**
                 *  A boolean flag to activate 
"mdl-dialog__actions--full-width" effect selector.
-                *  Modifies the actions to each take the full width of the 
container. This makes each take their own line.
+                *  Modifies the actions to each take the full width of the 
container.
+                *  This makes each take their own line.
                 *  Optional on action container.
                 *
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get fullWidth():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogContent.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogContent.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogContent.as
index 86048b9..633863b 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogContent.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DialogContent.as
@@ -18,8 +18,6 @@
 
////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.mdl
 {
-       import org.apache.flex.core.IChild;
-       import org.apache.flex.core.IUIBase;
        import org.apache.flex.core.ContainerBase;
     
     COMPILE::JS
@@ -28,12 +26,14 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The DialogContent class
+        *  The DialogContent class is a container to use inside Dialog class
+        *  that holds content and information so the user gets notified and
+        *  could take some action.
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class DialogContent extends ContainerBase
        {
@@ -43,7 +43,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function DialogContent()
                {
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
                                    
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Drawer.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Drawer.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Drawer.as
index 3e71c5e..36f2af8 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Drawer.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Drawer.as
@@ -26,13 +26,15 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The Drawer class is a Container component capable of parenting other
-        *  components 
+        *  The Drawer class is a container component used for navigation
+        *  in smaller screens. Can appear automatically in smaller screens
+        *  and may be opened with the menu icon on any screen size.
+        *  If fixed could serve as sidebar navigation on larger screens.
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class Drawer extends ContainerBase
        {
@@ -42,7 +44,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function Drawer()
                {
@@ -62,11 +64,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Footer.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Footer.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Footer.as
index 43ec122..ca493e1 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Footer.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Footer.as
@@ -32,7 +32,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class Footer extends ContainerBase
        {
@@ -42,7 +42,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function Footer()
                {
@@ -62,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('footer') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -79,7 +74,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get mini():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterBottomSection.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterBottomSection.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterBottomSection.as
index c5e6bb2..7fc65ca 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterBottomSection.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterBottomSection.as
@@ -33,7 +33,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterBottomSection extends ContainerBase implements 
IFooterSection
        {
@@ -43,7 +43,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterBottomSection()
                {
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +75,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLeftSection.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLeftSection.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLeftSection.as
index f3a10ad..3387f45 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLeftSection.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLeftSection.as
@@ -33,7 +33,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterLeftSection extends ContainerBase implements 
IFooterSection
        {
@@ -43,7 +43,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterLeftSection()
                {
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +75,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLinkList.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLinkList.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLinkList.as
index 0d3f1d4..956f07c 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLinkList.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLinkList.as
@@ -34,7 +34,7 @@ package org.apache.flex.mdl
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
+     *  @productversion FlexJS 0.8
      */  
        public class FooterLinkList extends List
        {
@@ -44,7 +44,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
                public function FooterLinkList()
                {
@@ -76,7 +76,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLogo.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLogo.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLogo.as
index 681c202..69b80e1 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLogo.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterLogo.as
@@ -32,7 +32,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterLogo extends Div
        {
@@ -42,7 +42,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterLogo()
                {
@@ -62,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -79,7 +74,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterRightSection.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterRightSection.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterRightSection.as
index b7f2950..143d140 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterRightSection.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterRightSection.as
@@ -33,7 +33,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterRightSection extends ContainerBase implements 
IFooterSection
        {
@@ -43,7 +43,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterRightSection()
                {
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +75,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterSocialButton.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterSocialButton.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterSocialButton.as
index ff2a8d8..59bf061 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterSocialButton.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterSocialButton.as
@@ -34,7 +34,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterSocialButton extends TextButton
        {
@@ -44,7 +44,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterSocialButton()
                {
@@ -76,7 +76,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterTopSection.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterTopSection.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterTopSection.as
index eb483c0..112f03e 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterTopSection.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/FooterTopSection.as
@@ -33,7 +33,7 @@ package org.apache.flex.mdl
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class FooterTopSection extends ContainerBase implements 
IFooterSection
        {
@@ -43,7 +43,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function FooterTopSection()
                {
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +75,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
         */ 
                COMPILE::JS
                override public function addedToParent():void

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Grid.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Grid.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Grid.as
index 2e3bfa5..f074f81 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Grid.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Grid.as
@@ -26,13 +26,26 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The Grid class is a Container component capable of parenting other
-        *  components 
+        *  The Material Design Lite (MDL) grid component is a simplified 
method for
+        *  laying out content for multiple screen sizes. It reduces the usual 
coding burden
+        *  required to correctly display blocks of content in a variety of 
display conditions.
+        *
+        *  The MDL grid is defined and enclosed by a container element. A grid 
has 12 columns in
+        *  the desktop screen size, 8 in the tablet size, and 4 in the phone 
size, each size having
+        *  predefined margins and gutters. Cells are laid out sequentially in 
a row, in the order 
+        *  they are defined, with some exceptions:
         *  
+        *  If a cell doesn't fit in the row in one of the screen sizes, it 
flows into the following line.
+        *  If a cell has a specified column size equal to or larger than the 
number of columns for the
+        *  current screen size, it takes up the entirety of its row.
+        *  
+        *  You can set a maximum grid width, after which the grid stays 
centered with padding on either
+        *  side, by setting its max-width CSS property.
+        *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class Grid extends ContainerBase
        {
@@ -42,7 +55,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function Grid()
                {
@@ -62,11 +75,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +88,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get nospacing():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/GridCell.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/GridCell.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/GridCell.as
index d8e4348..9d3d562 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/GridCell.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/GridCell.as
@@ -26,13 +26,15 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The GridCell class is a Container component capable of parenting 
other
-        *  components 
+        *  The GridCell class represents a cell in MDL component.
+        *  This cell is a container component capable of parenting other
+        *  components. It has several properties to allow multiple layouts
+        *  configurations
         *  
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class GridCell extends ContainerBase
        {
@@ -42,7 +44,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function GridCell()
                {
@@ -62,11 +64,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -81,7 +78,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get column():Number
         {
@@ -113,7 +110,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get columnDesktop():Number
         {
@@ -145,7 +142,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get columnTablet():Number
         {
@@ -177,7 +174,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get columnPhone():Number
         {
@@ -209,7 +206,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get offset():Number
         {
@@ -241,7 +238,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get offsetDesktop():Number
         {
@@ -273,7 +270,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get offsetTablet():Number
         {
@@ -305,7 +302,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get offsetPhone():Number
         {
@@ -337,7 +334,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get order():Number
         {
@@ -369,7 +366,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get orderDesktop():Number
         {
@@ -401,7 +398,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get orderTablet():Number
         {
@@ -433,7 +430,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get orderPhone():Number
         {
@@ -464,7 +461,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get hideDesktop():Boolean
         {
@@ -489,7 +486,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get hideTablet():Boolean
         {
@@ -514,7 +511,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get hidePhone():Boolean
         {
@@ -540,7 +537,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get strech():Boolean
         {
@@ -565,7 +562,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get alignTop():Boolean
         {
@@ -590,7 +587,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get alignMiddle():Boolean
         {
@@ -615,7 +612,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get alignBottom():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Header.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Header.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Header.as
index 93348b6..043f105 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Header.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Header.as
@@ -26,13 +26,14 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The Header class is a Container component capable of parenting other
-        *  components 
+        *  The Header class is a Container component mainly used in 
NavigationLayout
+        *  and Tabs components. It used to hold a HeaderRow and/or a TabBar 
components
+        *  to layout a Title, a navigation link or a tab bar navigation.
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class Header extends ContainerBase
        {
@@ -42,7 +43,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function Header()
                {
@@ -62,11 +63,6 @@ package org.apache.flex.mdl
             element = document.createElement('header') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;
@@ -80,7 +76,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get transparent():Boolean
         {
@@ -105,7 +101,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get scrollable():Boolean
         {
@@ -130,7 +126,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
         public function get waterfall():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/HeaderRow.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/HeaderRow.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/HeaderRow.as
index c024807..1dd5948 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/HeaderRow.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/HeaderRow.as
@@ -26,13 +26,13 @@ package org.apache.flex.mdl
     }
     
        /**
-        *  The HeaderRow class is a Container component capable of parenting 
other
-        *  components 
+        *  The HeaderRow class is a Container component used normaly inside a 
Header
+        *  to layout things like a title, a navigation component,...
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
+        *  @productversion FlexJS 0.8
         */
        public class HeaderRow extends ContainerBase
        {
@@ -42,7 +42,7 @@ package org.apache.flex.mdl
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
+                *  @productversion FlexJS 0.8
                 */
                public function HeaderRow()
                {
@@ -62,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/IconToggle.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/IconToggle.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/IconToggle.as
index 20b901c..c7dc241 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/IconToggle.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/IconToggle.as
@@ -26,17 +26,36 @@ package org.apache.flex.mdl
     {    
         import org.apache.flex.core.WrappedHTMLElement;
     }
+
     /**
-     *  The IconToggle class provides a MDL UI-like appearance for
-     *  a IconToggle.
+     *  The Material Design Lite (MDL) icon-toggle component is an enhanced 
version of
+     *  the standard HTML <input type="checkbox"> element. An icon-toggle 
consists of a 
+     *  user defined icon that indicates, by visual highlighting, a binary 
condition that
+     *  will be set or unset when the user clicks or touches it. Like 
checkboxes, 
+     *  icon-toggles may appear individually or in groups, and can be selected 
and 
+     *  deselected individually.
+     *
+     *  Icon toggles, particularly as a replacement for certain checkboxes, 
can be a valuable
+     *  feature in user interfaces, regardless of a site's content or function.
+     *  
+     *  The icon-toggle component can have a more customized visual look than 
a standard
+     *  checkbox, and may be initially or programmatically disabled.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
+     *  @productversion FlexJS 0.8
      */    
     public class IconToggle extends UIBase implements IMaterialIcon
     {
+        /**
+         *  constructor.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function IconToggle()
         {
             super();
@@ -45,15 +64,12 @@ package org.apache.flex.mdl
         }
 
         COMPILE::JS
-        private var label:HTMLLabelElement;
+        protected var label:HTMLLabelElement;
 
         COMPILE::JS
-        private var input:HTMLInputElement;
+        protected var input:HTMLInputElement;
 
         private var _dataMdlFor:String = "icon-toggle-1";
-        private var _ripple:Boolean = false;
-        private var _materialIcon:MaterialIconBase;
-        
         /**
          *  The id value of the associated input
          *  Need to specify for display content of IconToggle
@@ -61,7 +77,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function get dataMdlFor():String
         {
@@ -81,6 +97,7 @@ package org.apache.flex.mdl
             }
         }
 
+        private var _ripple:Boolean = false;
         /**
          *  A boolean flag to activate "mdl-js-ripple-effect" effect selector.
          *  Applies ripple click effect. May be used in combination with any 
other classes
@@ -88,7 +105,7 @@ package org.apache.flex.mdl
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function get ripple():Boolean
         {
@@ -106,13 +123,14 @@ package org.apache.flex.mdl
             }
         }
 
+        private var _materialIcon:MaterialIconBase;
         /**
-         *  A material icon. Optional
+         *  A material icon.
          *
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function get materialIcon():MaterialIconBase
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/LayoutTitle.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/LayoutTitle.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/LayoutTitle.as
deleted file mode 100644
index 87b30f5..0000000
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/LayoutTitle.as
+++ /dev/null
@@ -1,70 +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.mdl
-{
-       import org.apache.flex.html.Span;
-    
-    COMPILE::JS
-    {
-        import org.apache.flex.core.WrappedHTMLElement;
-    }
-    
-       /**
-        *  The LayoutTitle class is a Container component capable of parenting 
other
-        *  components 
-        *
-        *  @langversion 3.0
-        *  @playerversion Flash 10.2
-        *  @playerversion AIR 2.6
-        *  @productversion FlexJS 0.0
-        */
-       public class LayoutTitle extends Span
-       {
-               /**
-                *  constructor.
-                *
-                *  @langversion 3.0
-                *  @playerversion Flash 10.2
-                *  @playerversion AIR 2.6
-                *  @productversion FlexJS 0.0
-                */
-               public function LayoutTitle()
-               {
-                       super();
-
-                       className = ""; //set to empty string avoid 'undefined' 
output when no class selector is assigned by user;
-               }
-               
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         */
-        COMPILE::JS
-        override protected function createElement():WrappedHTMLElement
-        {
-                       typeNames = "mdl-layout-title";
-                       
-                       element = document.createElement('span')  as 
WrappedHTMLElement;
-            
-            positioner = element;
-                       element.flexjs_wrapper = this;
-            
-            return element;
-        }
-       }
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayout.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayout.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayout.as
index 52d9f23..aaca1bf 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayout.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayout.as
@@ -62,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayoutContent.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayoutContent.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayoutContent.as
index 43428b3..d8587ad 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayoutContent.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLayoutContent.as
@@ -62,11 +62,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
index f845d5a..0ecd244 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/THead.as
@@ -60,11 +60,6 @@ package org.apache.flex.mdl
             element = document.createElement('thead') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBar.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBar.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBar.as
index 273738a..0ee47f0 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBar.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBar.as
@@ -158,11 +158,6 @@ package org.apache.flex.mdl
                        element = document.createElement('div') as 
WrappedHTMLElement;
                        
             positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarPanel.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarPanel.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarPanel.as
index 2099699..bb8e275 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarPanel.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/TabBarPanel.as
@@ -63,11 +63,6 @@ package org.apache.flex.mdl
                        element = document.createElement('section') as 
WrappedHTMLElement;
                        
             positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Tabs.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Tabs.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Tabs.as
index 0007793..82b4538 100644
--- 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Tabs.as
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Tabs.as
@@ -159,11 +159,6 @@ package org.apache.flex.mdl
             element = document.createElement('div') as WrappedHTMLElement;
             
                        positioner = element;
-            
-            // absolute positioned children need a non-null
-            // position value in the parent.  It might
-            // get set to 'absolute' if the container is
-            // also absolutely positioned
             element.flexjs_wrapper = this;
 
             return element;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/LayoutTitle.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/LayoutTitle.as
 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/LayoutTitle.as
new file mode 100644
index 0000000..b67d372
--- /dev/null
+++ 
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/LayoutTitle.as
@@ -0,0 +1,71 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.mdl.beads
+{      
+       import org.apache.flex.core.IBead;
+       import org.apache.flex.core.IStrand;
+       import org.apache.flex.core.UIBase;
+       
+       /**
+        *  The LayoutTitle bead class is used in MDL Layout Header inside a 
HeaderRow
+        *  (normaly a Span) or in a Drawer to style the title.
+        *  
+        *  @langversion 3.0
+        *  @playerversion Flash 10.2
+        *  @playerversion AIR 2.6
+        *  @productversion FlexJS 0.8
+        */
+       public class LayoutTitle implements IBead
+       {
+               /**
+                *  constructor.
+                *
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion FlexJS 0.8
+                */
+               public function LayoutTitle()
+               {
+               }
+
+               private var _strand:IStrand;
+               
+               /**
+                *  @copy org.apache.flex.core.IBead#strand
+                *  
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion FlexJS 0.8
+                *  @flexjsignorecoercion HTMLInputElement
+                *  @flexjsignorecoercion org.apache.flex.core.UIBase;
+                */
+               public function set strand(value:IStrand):void
+               {
+                       _strand = value;
+                       
+                       COMPILE::JS
+                       {
+                               var host:UIBase = value as UIBase;
+                host.className = "mdl-layout-title";
+                       }
+               }
+       }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5c314f8a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml 
b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
index 0395d36..9ab4461 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
+++ b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml
@@ -67,7 +67,7 @@
     <component id="DialogContent" class="org.apache.flex.mdl.DialogContent"/>
     <component id="DialogActions" class="org.apache.flex.mdl.DialogActions"/>
     <component id="NavigationLayout" 
class="org.apache.flex.mdl.NavigationLayout"/>
-    <component id="LayoutTitle" class="org.apache.flex.mdl.LayoutTitle"/>
+    <component id="LayoutTitle" class="org.apache.flex.mdl.beads.LayoutTitle"/>
     <component id="Navigation" class="org.apache.flex.mdl.Navigation"/>
     <component id="NavigationLinkItemRenderer" 
class="org.apache.flex.mdl.itemRenderers.NavigationLinkItemRenderer"/>
     <component id="NavigationLink" class="org.apache.flex.mdl.NavigationLink"/>

Reply via email to