flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [48/50] git commit: [flex-asjs] [refs/heads/feature/mdl] - More updates to MDL docs and more icons
Date Fri, 27 Jan 2017 22:14:29 GMT
More updates to MDL docs and more icons


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

Branch: refs/heads/feature/mdl
Commit: 2d8aa478f970ff40a379319c0880a8914e37968d
Parents: 1005316
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Jan 27 00:41:19 2017 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Fri Jan 27 00:41:19 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/List.as   |  72 ++++++++++-
 .../src/main/flex/org/apache/flex/mdl/Menu.as   | 101 +++++++++++++---
 .../main/flex/org/apache/flex/mdl/Navigation.as |   9 +-
 .../org/apache/flex/mdl/NavigationLayout.as     |  11 +-
 .../apache/flex/mdl/NavigationLayoutContent.as  |   9 +-
 .../flex/org/apache/flex/mdl/NavigationLink.as  |  10 +-
 .../flex/org/apache/flex/mdl/ProgressBar.as     |  39 ++++--
 .../flex/org/apache/flex/mdl/RadioButton.as     |  10 +-
 .../src/main/flex/org/apache/flex/mdl/Slider.as |  45 +++++--
 .../flex/mdl/materialIcons/MaterialIconType.as  | 121 ++++++++++---------
 10 files changed, 306 insertions(+), 121 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/List.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/List.as
index b1d7574..ff92a15 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/List.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/List.as
@@ -33,9 +33,11 @@ package org.apache.flex.mdl
     }
 
 	/**
-	 *  List relies on an itemRenderer factory to produce its children components
-	 *  and on a layout to arrange them. 
-     *  This is the only UI element aside from the itemRenderers.
+	 *  List in MDL are customizable scrollable lists. Lists present multiple line 
+	 *  items vertically as a single continuous element.
+	 *  
+	 *  In FlexJS MDL relies on an itemRenderer factory to produce its children components
+	 *  and on a layout to arrange them. This is the only UI element aside from the itemRenderers.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.2
@@ -50,7 +52,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 List()
 		{
@@ -59,40 +61,94 @@ package org.apache.flex.mdl
             className = ""; //set to empty string avoid 'undefined' output when no class
selector is assigned by user;
 		}
 
+		/**
+         *  data provider
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function get dataProvider():Object
 		{
 			return ISelectionModel(model).dataProvider;
 		}
+		/**
+         *  @private
+         */
 		public function set dataProvider(value:Object):void
 		{
 			ISelectionModel(model).dataProvider = value;
 		}
 
+		/**
+         *  label field
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function get labelField():String
 		{
 			return ISelectionModel(model).labelField;
 		}
+		/**
+         *  @private
+         */
 		public function set labelField(value:String):void
 		{
 			ISelectionModel(model).labelField = value;
 		}
 
+		/**
+         *  get layout host
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function getLayoutHost():ILayoutHost
 		{
 			return this;
 		}
 
+		/**
+         *  get content view
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function get contentView():IParentIUIBase
 		{
 			return this;
 		}
 
+		/**
+         *  get item renderer for index
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function getItemRendererForIndex(index:int):IItemRenderer
 		{
 			var child:IItemRenderer = getElementAt(index) as IItemRenderer;
 			return child;
 		}
 
+		/**
+         *  remove all elements
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function removeAllElements():void
 		{
 			while (numElements > 0) {
@@ -101,6 +157,14 @@ package org.apache.flex.mdl
 			}
 		}
 
+		/**
+         *  update all item renderers
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
 		public function updateAllItemRenderers():void
 		{
 			//todo: IItemRenderer does not define update function but DataItemRenderer does

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
index 6fed733..f1a535a 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Menu.as
@@ -33,12 +33,21 @@ package org.apache.flex.mdl
     }
 	
     /**
-     *  The Menu class creates a MDL menu
+     *  The Menu class creates a MDL menu. A menu in MDL is a lists 
+     *  of clickable actions.
+     *
+     *  The Material Design Lite (MDL) menu component is a user interface 
+     *  element that allows users to select one of a number of options. 
+     *  The selection typically results in an action initiation, a setting 
+     *  change, or other observable effect. Menu options are always presented
+     *  in sets of two or more, and options may be programmatically enabled or
+     *  disabled as required. The menu appears when the user is asked to choose
+     *  among a series of options, and is usually dismissed after the choice is made.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
+     *  @productversion FlexJS 0.8
      */    
 	public class Menu extends ContainerBase implements IItemRendererParent, ILayoutParent, ILayoutHost
 	{
@@ -48,7 +57,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 Menu()
 		{
@@ -58,51 +67,103 @@ package org.apache.flex.mdl
         }
 
         /**
-         * default position for Menu in MDL is bottom/left (or no class selector specified)
+         *  Default position for Menu in MDL is bottom/left (or no class selector specified)
          *
-         * @langversion 3.0
-         * @playerversion Flash 10.2
-         * @playerversion AIR 2.6
-         * @productversion FlexJS 0.0
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
          */
         private var currentMenuPosition:String = "";
 
+        /**
+         *  data provider
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function get dataProvider():Object
         {
             return ISelectionModel(model).dataProvider;
         }
-
+        /**
+         *  @private
+         */
         public function set dataProvider(value:Object):void
         {
             ISelectionModel(model).dataProvider = value;
         }
 
+        /**
+         *  label field
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function get labelField():String
         {
             return ISelectionModel(model).labelField;
         }
-
+        /**
+         *  @private
+         */
         public function set labelField(value:String):void
         {
             ISelectionModel(model).labelField = value;
         }
 
+        /**
+         *  get layout host
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function getLayoutHost():ILayoutHost
         {
             return this;
         }
 
+        /**
+         *  get content view
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function get contentView():IParentIUIBase
         {
             return this;
         }
 
+        /**
+         *  get item renderer for index
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function getItemRendererForIndex(index:int):IItemRenderer
         {
             var child:IItemRenderer = getElementAt(index) as IItemRenderer;
             return child;
         }
 
+        /**
+         *  remove all elements
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function removeAllElements():void
         {
             while (numElements > 0) {
@@ -111,6 +172,14 @@ package org.apache.flex.mdl
             }
         }
 
+        /**
+         *  update all item renderers
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.8
+         */
         public function updateAllItemRenderers():void
         {
 
@@ -133,7 +202,6 @@ package org.apache.flex.mdl
         }
 
         private var _bottom:Boolean = true;
-
 		/**
 		 *  Position the menu relative to the associated button.
          *  Used in conjunction with "left"
@@ -142,7 +210,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 bottom():Boolean
 		{
@@ -176,7 +244,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 left():Boolean
 		{
@@ -208,7 +276,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
 		{
@@ -227,11 +295,12 @@ package org.apache.flex.mdl
         protected var _ripple:Boolean = false;
         /**
 		 *  A boolean flag to activate "mdl-js-ripple-effect" effect selector.
-		 *
+		 *  Applies ripple click effect to option links. Optional
+         *
 		 *  @langversion 3.0
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.0
+		 *  @productversion FlexJS 0.8
 		 */
         public function get ripple():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Navigation.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Navigation.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Navigation.as
index 708983d..8d20000 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Navigation.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Navigation.as
@@ -26,13 +26,14 @@ package org.apache.flex.mdl
     }
     
 	/**
-	 *  The Navigation class is a Container component capable of parenting other
-	 *  components 
+	 *  The Navigation class is a <nav> tag in HTML. It parents a list of links
+	 *  In FlexJS Navigation is implemented as a List component and by default 
+	 *  it uses NavigationLinkItemRenderer class to define each item. 
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
+	 *  @productversion FlexJS 0.8
 	 */
 	public class Navigation extends List
 	{
@@ -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 Navigation()
 		{

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/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 aaca1bf..255735c 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
@@ -27,12 +27,13 @@ package org.apache.flex.mdl
     
 	/**
 	 *  The NavigationLayout class is a Container component capable of parenting other
-	 *  components 
+	 *  components.
+	 *  It normaly can host a Header, a Drawer and a NavigationLaoutContent
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
+	 *  @productversion FlexJS 0.8
 	 */
 	public class NavigationLayout 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 NavigationLayout()
 		{
@@ -75,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 fixedHeader():Boolean
         {
@@ -100,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 fixedDrawer():Boolean
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/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 d8587ad..1d18258 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
@@ -26,13 +26,14 @@ package org.apache.flex.mdl
     }
     
 	/**
-	 *  The NavigationLayoutContent class is a Container component capable of parenting other
-	 *  components 
+	 *  The NavigationLayoutContent class is a Container component capable of parenting 
+	 *  the content of the NavigationLayout parent. If the navigation uses a TabBar component
+	 *  for navigation, each piece of content will be a TabBarPanel.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
+	 *  @productversion FlexJS 0.8
 	 */
 	public class NavigationLayoutContent 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 NavigationLayoutContent()
 		{

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLink.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLink.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLink.as
index b468be9..0669b14 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLink.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/NavigationLink.as
@@ -26,13 +26,15 @@ package org.apache.flex.mdl
     }
     
 	/**
-	 *  The NavigationLink class is a Container component capable of parenting other
-	 *  components 
+	 *  The NavigationLink class is a link component used in some components
+	 *  and is created for convenience or to use alone as a component.
+	 *  Notice that Navigation does not use this component (as a List compomemt,
+	 *  it uses NavigationLinkItemRenderer).
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
-	 *  @productversion FlexJS 0.0
+	 *  @productversion FlexJS 0.8
 	 */
 	public class NavigationLink extends A
 	{
@@ -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 NavigationLink()
 		{

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/ProgressBar.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/ProgressBar.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/ProgressBar.as
index 4c1e102..8120c63 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/ProgressBar.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/ProgressBar.as
@@ -26,13 +26,18 @@ package org.apache.flex.mdl
         import org.apache.flex.core.WrappedHTMLElement;
     }
     /**
-     *  The ProgressBar class provides a MDL UI-like appearance for
-     *  a ProgressBar.
+     *  The ProgressBar indicate loading and progress states.
+     *  The Material Design Lite (MDL) progress component is a visual indicator of
+     *  background activity in a web page or application. A progress indicator consists
+     *  of a (typically) horizontal bar containing some animation that conveys a sense of
+     *  motion. While some progress devices indicate an approximate or specific percentage
+     *  of completion, the MDL progress component simply communicates the fact that an activity
+     *  is ongoing and is not yet complete.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
-     *  @productversion FlexJS 0.0
+     *  @productversion FlexJS 0.8
      */
     public class ProgressBar extends UIBase
     {
@@ -46,22 +51,21 @@ package org.apache.flex.mdl
         private var materialProgress:Object;
 
         private var _currentProgress:Number;
-        private var _currentBuffer:Number;
-        private var _indeterminate:Boolean;
-
         /**
          *  Current progress of the progressbar
          *
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function get currentProgress():Number
         {
             return _currentProgress;
         }
-
+        /**
+         *  @private
+         */
         public function set currentProgress(value:Number):void
         {
             _currentProgress = value;
@@ -69,19 +73,22 @@ package org.apache.flex.mdl
             setCurrentProgress(value);
         }
 
+        private var _currentBuffer:Number;
         /**
          *  Current progress of the buffer.
          *
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function get currentBuffer():Number
         {
             return _currentBuffer;
         }
-
+        /**
+         *  @private
+         */
         public function set currentBuffer(value:Number):void
         {
             _currentBuffer = value;
@@ -89,13 +96,14 @@ package org.apache.flex.mdl
             setCurrentProgress(value);
         }
 
+        private var _indeterminate:Boolean;
         /**
          *  Indeterminate state.
          *
          *  @langversion 3.0
          *  @playerversion Flash 10.2
          *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
+         *  @productversion FlexJS 0.8
          */
         public function set indeterminate(value:Boolean):void
         {
@@ -126,6 +134,9 @@ package org.apache.flex.mdl
             return element;
         }
 
+        /**
+         *  @private
+         */
         private function setCurrentProgress(value:Number):void
         {
             if (materialProgress && !_indeterminate)
@@ -134,6 +145,9 @@ package org.apache.flex.mdl
             }
         }
 
+        /**
+         *  @private
+         */
         private function setCurrentBuffer(value:Number):void
         {
             if (materialProgress && !_indeterminate)
@@ -142,6 +156,9 @@ package org.apache.flex.mdl
             }
         }
 
+        /**
+         *  @private
+         */
         private function onElementMdlComponentUpgraded(event:Event):void
         {
             if (!event.currentTarget) return;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
index 24037b0..f193886 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/RadioButton.as
@@ -36,7 +36,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::SWF
 	public class RadioButton extends org.apache.flex.html.RadioButton
@@ -47,7 +47,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 RadioButton()
 		{
@@ -61,7 +61,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
         {
@@ -82,7 +82,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 RadioButton()
 		{
@@ -147,7 +147,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
         {

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
index b69ac8e..a8a4ace 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as
@@ -27,14 +27,38 @@ package org.apache.flex.mdl
         import org.apache.flex.core.WrappedHTMLElement;        
     }
 
+	//--------------------------------------
+    //  Events
+    //--------------------------------------
+
+     /**
+     *  Dispatched when Slider ends its change from one position to another.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.8
+     */
 	[Event(name="change", type="org.apache.flex.events.Event")]
 
+	/**
+     *  Dispatched each time user moves the slider thumb from one position to another
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.8
+     */
 	[Event(name="input", type="org.apache.flex.events.Event")]
 	
 	/**
-	 *  The Slider class provides a MDL UI-like appearance for a slider.
-	 *  It displays a range of values using a track and a thumb control. 
-	 *  The Slider uses the following bead types:
+	 *  The Slider class is used for selecting a value out of a range.
+	 *  The Material Design Lite (MDL) slider component is an enhanced version of the new
+	 *  HTML5 <input type="range"> element. A slider consists of a horizontal line upon
which
+	 *  sits a small, movable disc (the thumb) and, typically, text that clearly communicates
+	 *  a value that will be set when the user moves it.
+	 *  
+	 *  In FlexJS the MDL Slider uses the following bead types:
 	 * 
 	 *  org.apache.flex.core.IBeadModel: the data model, typically an IRangeModel, that holds
the Slider values.
 	 *  org.apache.flex.core.IBeadView:  the bead that constructs the visual parts of the Slider.
@@ -43,7 +67,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 Slider extends UIBase
 	{
@@ -53,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 Slider()
 		{
@@ -75,7 +99,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 value():Number
 		{
@@ -92,7 +116,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 minimum():Number
 		{
@@ -109,7 +133,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 maximum():Number
 		{
@@ -127,7 +151,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 snapInterval():Number
 		{
@@ -145,7 +169,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 stepSize():Number
         {
@@ -162,6 +186,7 @@ package org.apache.flex.mdl
         /**
          * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
 		 * @flexjsignorecoercion HTMLInputElement
+		 * @flexjsignorecoercion HTMLElement
          */
         COMPILE::JS
         override protected function createElement():WrappedHTMLElement

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2d8aa478/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/materialIcons/MaterialIconType.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/materialIcons/MaterialIconType.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/materialIcons/MaterialIconType.as
index f9f19db..1be58f9 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/materialIcons/MaterialIconType.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/materialIcons/MaterialIconType.as
@@ -208,6 +208,69 @@ package org.apache.flex.mdl.materialIcons
 
         public static const SETTINGS_REMOTE:String = 'settings_remote';
         public static const SETTINGS_VOICE:String = 'settings_voice';
+        public static const SHOP:String = 'shop';
+        public static const SHOP_TWO:String = 'shop_two';
+        public static const SHOPPING_BASKET:String = 'shopping_basket';
+        public static const SHOPPING_CART:String = 'shopping_cart';
+        public static const SPEAKER_NOTES:String = 'speaker_notes';
+        public static const SPEAKER_NOTES_OFF:String = 'speaker_notes_off';
+        public static const SPELLCHECK:String = 'spellcheck';
+        public static const STAR_RATE:String = 'star_rate';
+
+        public static const STARS:String = 'stars';
+        public static const STORE:String = 'store';
+        public static const SUBJECT:String = 'subject';
+        public static const SUPERVISOR_ACCOUNT:String = 'supervisor_account';
+        public static const SWAP_HORIZ:String = 'swap_horiz';
+        public static const SWAP_VERT:String = 'swap_vert';
+        public static const SWAP_VERTICAL_CIRCLE:String = 'swap_vertical_circle';
+        public static const SYSTEM_UPDATE_ALT:String = 'system_update_alt';
+        public static const TAB:String = 'tab';
+        public static const TAB_UNSELECTED:String = 'tab_unselected';
+
+        public static const THEATERS:String = 'theaters';
+        public static const THUMB_DOWN:String = 'thumb_down';
+        public static const THUMB_UP:String = 'thumb_up';
+        public static const THUMB_UP_DOWN:String = 'thumbs_up_down';
+        public static const TIMELINE:String = 'timeline';
+        public static const TOC:String = 'toc';
+        public static const TODAY:String = 'today';
+        public static const TOLL:String = 'toll';
+        public static const TOUCH_APP:String = 'touch_app';
+        public static const TRACK_CHANGES:String = 'track_changes';
+        
+        public static const TRANSLATE:String = 'translate';
+        public static const TRENDING_DOWN:String = 'trending_down';
+        public static const TRENDING_FLAT:String = 'trending_flat';
+        public static const TRENDING_UP:String = 'trending_up';
+        public static const TURNED_IN:String = 'turned_in';
+        public static const TURNED_IN_NOT:String = 'turned_in_not';
+        public static const UPDATE:String = 'update';
+        public static const VERIFIED_USER:String = 'verified_user';
+        public static const VIEW_AGENDA:String = 'view_agenda';
+        public static const VIEW_ARRAY:String = 'view_array';
+
+        public static const VIEW_CAROUSEL:String = 'view_carousel';
+        public static const VIEW_COLUMN:String = 'view_column';
+        public static const VIEW_DAY:String = 'view_day';
+        public static const VIEW_HEADLINE:String = 'view_headline';
+        public static const VIEW_LIST:String = 'view_list';
+        public static const VIEW_MODULE:String = 'view_module';
+        public static const VIEW_QUILT:String = 'view_quilt';
+        public static const VIEW_STREAM:String = 'view_stream';
+        public static const VIEW_WEEK:String = 'view_week';
+        public static const VISIBILITY:String = 'visibility';
+
+        public static const VISIBILITY_OFF:String = 'visibility_off';
+        public static const WATCH_LATER:String = 'watch_later';
+        public static const WORK:String = 'work';
+        public static const YOUTUBE_SEARCHED_FOR:String = 'youtube_searched_for';
+        public static const ZOMM_IN:String = 'zoom_in';
+        public static const ZOOM_OUT:String = 'zoom_out';
+        public static const ADD_ALERT:String = 'add_alert';
+        public static const ERROR:String = 'error';
+        public static const ERROR_OUTLINE:String = 'error_outline';
+        public static const WARNING:String = 'warning';
 
       /*  
         public static const ACCESSIBLE:String = 'XXX';
@@ -221,64 +284,6 @@ package org.apache.flex.mdl.materialIcons
         public static const ACCESSIBLE:String = 'XXX';
         public static const ACCESSIBLE:String = 'XXX';
         
-        'shop',
-        'shop_two',
-        'shopping_basket',
-        'shopping_cart',
-        'speaker_notes',
-        'speaker_notes_off',
-        'spellcheck',
-        'star_rate',
-        'stars',
-        'store',
-        'subject',
-        'supervisor_account',
-        'swap_horiz',
-        'swap_vert',
-        'swap_vertical_circle',
-        'system_update_alt',
-        'tab',
-        'tab_unselected',
-        'theaters',
-        'thumb_down',
-        'thumb_up',
-        'thumbs_up_down',
-        'timeline',
-        'toc',
-        'today',
-        'toll',
-        'touch_app',
-        'track_changes',
-        'translate',
-        'trending_down',
-        'trending_flat',
-        'trending_up',
-        'turned_in',
-        'turned_in_not',
-        'update',
-        'verified_user',
-        'view_agenda',
-        'view_array',
-        'view_carousel',
-        'view_column',
-        'view_day',
-        'view_headline',
-        'view_list',
-        'view_module',
-        'view_quilt',
-        'view_stream',
-        'view_week',
-        'visibility',
-        'visibility_off',
-        'watch_later',
-        'work',
-        'youtube_searched_for',
-        'zoom_in',
-        'zoom_out',
-        'add_alert',
-        'error',
-        'error_outline',
-        'warning',
         'add_to_queue',
         'airplay',
         'album',


Mime
View raw message